dispatch/vendor/github.com/couchbase/vellum/.travis.yml
Ken-Håvard Lieng 628dc66685 Go modules!
2018-08-31 03:08:17 +02:00

21 lines
458 B
YAML

sudo: false
language: go
go:
- 1.8
script:
- go get github.com/mattn/goveralls
- go get github.com/kisielk/errcheck
- 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