You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
489 B
22 lines
489 B
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
|
- "1.9.x"
|
|
- "1.10.x"
|
|
- "1.11.x"
|
|
|
|
script:
|
|
- go get github.com/mattn/goveralls
|
|
- go get -u 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
|
|
|