2015-06-09 23:36:59 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2018-03-25 00:47:08 +00:00
|
|
|
- "1.8.x"
|
|
|
|
- "1.9.x"
|
|
|
|
- "1.10.x"
|
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
|
2018-05-16 01:46:42 +00:00
|
|
|
- nvm install 10.1.0
|
|
|
|
- nvm use 10.1.0
|
2017-02-18 21:18:01 +00:00
|
|
|
- npm install -g yarn
|
2018-05-16 01:46:42 +00:00
|
|
|
- yarn global add gulp@next
|
2018-04-26 17:57:39 +00:00
|
|
|
- yarn --ignore-engines
|
2015-06-09 23:36:59 +00:00
|
|
|
|
|
|
|
script:
|
2018-03-25 00:47:08 +00:00
|
|
|
- yarn test:verbose
|
2017-02-18 21:18:01 +00:00
|
|
|
- gulp build
|
|
|
|
- cd ..
|
|
|
|
- go vet $(go list ./... | grep -v '/vendor/')
|
|
|
|
- go test -v -race $(go list ./... | grep -v '/vendor/')
|