language: go

go:
  - 1.8.1
  - 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

script:
  - gulp build
  - cd ..
  - export GO15VENDOREXPERIMENT=1
  - go vet $(go list ./... | grep -v '/vendor/')
  - go test -v -race $(go list ./... | grep -v '/vendor/')
