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

View File

@ -1,28 +1,32 @@
language: go language: go
go: go:
- 1.5.4 - 1.5.4
- 1.6.4 - 1.6.4
- 1.7.5 - 1.7.5
- 1.8 - 1.8
- tip - tip
os:
- linux
- osx
matrix: matrix:
allow_failures: allow_failures:
- go: tip - go: tip
install: install:
- go get github.com/jteeuwen/go-bindata/... - go get github.com/jteeuwen/go-bindata/...
- cd client - cd client
- nvm install 6.9.4 - nvm install 6.9.4
- nvm use 6.9.4 - nvm use 6.9.4
- npm install -g yarn - npm install -g yarn
- npm install -g gulp - npm install -g gulp
- yarn - yarn
script: script:
- gulp build - gulp build
- cd .. - cd ..
- export GO15VENDOREXPERIMENT=1 - export GO15VENDOREXPERIMENT=1
- go vet $(go list ./... | grep -v '/vendor/') - go vet $(go list ./... | grep -v '/vendor/')
- go test -v -race $(go list ./... | grep -v '/vendor/') - go test -v -race $(go list ./... | grep -v '/vendor/')