dispatch/.travis.yml

38 lines
608 B
YAML
Raw Normal View History

2015-06-09 23:36:59 +00:00
language: go
go:
2018-11-16 04:17:20 +00:00
- 1.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:
- GO111MODULE=off go get github.com/jteeuwen/go-bindata/...
2017-02-18 21:18:01 +00:00
- cd client
2020-11-13 07:59:36 +00:00
- nvm install --lts
- nvm use --lts
2017-02-18 21:18:01 +00:00
- npm install -g yarn
2020-05-08 02:16:41 +00:00
- yarn global add gulp-cli
2018-11-16 04:17:20 +00:00
- yarn
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 ..
2018-08-31 02:06:29 +00:00
- go vet ./...
- go test -v -race ./...
2018-11-16 04:17:20 +00:00
deploy:
- provider: script
skip_cleanup: true
script: git checkout -- . && curl -sL https://git.io/goreleaser | bash
2018-11-16 04:17:20 +00:00
on:
tags: true
condition: $TRAVIS_OS_NAME = linux && $TRAVIS_GO_VERSION = 1.*