31 lines
381 B
YAML
31 lines
381 B
YAML
language: go
|
|
sudo: false
|
|
go:
|
|
- 1.11.x
|
|
- 1.x
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/go-build
|
|
- $HOME/gopath/pkg/mod
|
|
- $HOME/Library/Caches/go-build
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
before_install:
|
|
- nvm install node
|
|
- npm install -g npm
|
|
|
|
install:
|
|
- npm --prefix client install
|
|
|
|
script:
|
|
- node -v
|
|
- npm -v
|
|
- go test ./...
|
|
- make build/static/index.html
|
|
- make
|
|
|