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