dispatch/vendor/github.com/couchbase/vellum/.travis.yml

23 lines
489 B
YAML
Raw Normal View History

2018-08-31 01:07:13 +00:00
sudo: false
language: go
go:
2019-01-23 07:52:17 +00:00
- "1.9.x"
- "1.10.x"
- "1.11.x"
2018-08-31 01:07:13 +00:00
script:
- go get github.com/mattn/goveralls
2019-01-23 07:52:17 +00:00
- go get -u github.com/kisielk/errcheck
2018-08-31 01:07:13 +00:00
- go test -v $(go list ./... | grep -v vendor/)
- go test -race
- go vet
- errcheck
- go test -coverprofile=profile.out -covermode=count
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then goveralls -service=travis-ci -coverprofile=profile.out -repotoken $COVERALLS; fi'
notifications:
email:
- marty.schoch@gmail.com