dispatch/.travis.yml

38 lines
608 B
YAML

language: go
go:
- 1.x
- tip
os:
- linux
- osx
matrix:
allow_failures:
- go: tip
install:
- GO111MODULE=off go get github.com/jteeuwen/go-bindata/...
- cd client
- nvm install --lts
- nvm use --lts
- npm install -g yarn
- yarn global add gulp-cli
- yarn
script:
- yarn test:verbose
- gulp build
- cd ..
- go vet ./...
- go test -v -race ./...
deploy:
- provider: script
skip_cleanup: true
script: git checkout -- . && curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux && $TRAVIS_GO_VERSION = 1.*