2018-08-30 15:16:37 +00:00
|
|
|
language: go
|
|
|
|
sudo: false
|
|
|
|
go:
|
|
|
|
- 1.11.x
|
2018-09-07 13:13:23 +00:00
|
|
|
- 1.x
|
2018-08-30 15:16:37 +00:00
|
|
|
|
2018-11-09 15:19:55 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/go-build
|
|
|
|
- $HOME/gopath/pkg/mod
|
|
|
|
- $HOME/Library/Caches/go-build
|
|
|
|
|
2018-08-30 16:06:08 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2019-01-04 18:00:06 +00:00
|
|
|
before_install:
|
|
|
|
- nvm install node
|
|
|
|
- npm install -g npm
|
|
|
|
|
2018-09-07 13:13:03 +00:00
|
|
|
install:
|
2018-09-07 13:14:43 +00:00
|
|
|
- npm --prefix client install
|
2018-09-07 13:13:03 +00:00
|
|
|
|
2018-08-30 15:16:37 +00:00
|
|
|
script:
|
2019-01-04 18:00:06 +00:00
|
|
|
- node -v
|
|
|
|
- npm -v
|
2018-09-07 13:13:03 +00:00
|
|
|
- go test ./...
|
2018-11-29 12:05:29 +00:00
|
|
|
- make build/static/index.html
|
2018-09-07 13:13:03 +00:00
|
|
|
- make
|
2018-08-30 15:16:37 +00:00
|
|
|
|