Add OSX travis builds

This commit is contained in:
Ken-Håvard Lieng 2017-02-18 22:18:01 +01:00
parent be98d3c4d0
commit a5071fbd62
1 changed files with 21 additions and 17 deletions

View File

@ -1,28 +1,32 @@
language: go
go:
- 1.5.4
- 1.6.4
- 1.7.5
- 1.8
- tip
- 1.5.4
- 1.6.4
- 1.7.5
- 1.8
- tip
os:
- linux
- osx
matrix:
allow_failures:
- go: tip
install:
- 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
- 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
script:
- gulp build
- cd ..
- export GO15VENDOREXPERIMENT=1
- go vet $(go list ./... | grep -v '/vendor/')
- go test -v -race $(go list ./... | grep -v '/vendor/')
- gulp build
- cd ..
- export GO15VENDOREXPERIMENT=1
- go vet $(go list ./... | grep -v '/vendor/')
- go test -v -race $(go list ./... | grep -v '/vendor/')