dispatch/.travis.yml

38 lines
590 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:
2017-02-18 21:18:01 +00:00
- go get github.com/jteeuwen/go-bindata/...
- cd client
2019-06-21 00:38:57 +00:00
- nvm install 12.4.0
- nvm use 12.4.0
2017-02-18 21:18:01 +00:00
- npm install -g yarn
2018-12-11 10:17:05 +00:00
- yarn global add gulp
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.*