2015-06-09 23:36:59 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2017-02-18 21:18:01 +00:00
|
|
|
- 1.5.4
|
|
|
|
- 1.6.4
|
|
|
|
- 1.7.5
|
2017-04-07 20:51:25 +00:00
|
|
|
- 1.8.1
|
2017-02-18 21:18:01 +00:00
|
|
|
- tip
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2015-06-09 23:36:59 +00:00
|
|
|
|
2016-10-11 20:15:40 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
|
2015-06-09 23:36:59 +00:00
|
|
|
install:
|
2017-02-18 21:18:01 +00:00
|
|
|
- go get github.com/jteeuwen/go-bindata/...
|
|
|
|
- cd client
|
|
|
|
- nvm install 6.9.4
|
|
|
|
- nvm use 6.9.4
|
|
|
|
- npm install -g yarn
|
|
|
|
- npm install -g gulp
|
|
|
|
- yarn
|
2015-06-09 23:36:59 +00:00
|
|
|
|
|
|
|
script:
|
2017-02-18 21:18:01 +00:00
|
|
|
- gulp build
|
|
|
|
- cd ..
|
|
|
|
- export GO15VENDOREXPERIMENT=1
|
|
|
|
- go vet $(go list ./... | grep -v '/vendor/')
|
|
|
|
- go test -v -race $(go list ./... | grep -v '/vendor/')
|