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.

.travis.yml 489B

12345678910111213141516171819202122
  1. sudo: false
  2. language: go
  3. go:
  4. - "1.9.x"
  5. - "1.10.x"
  6. - "1.11.x"
  7. script:
  8. - go get github.com/mattn/goveralls
  9. - go get -u github.com/kisielk/errcheck
  10. - go test -v $(go list ./... | grep -v vendor/)
  11. - go test -race
  12. - go vet
  13. - errcheck
  14. - go test -coverprofile=profile.out -covermode=count
  15. - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then goveralls -service=travis-ci -coverprofile=profile.out -repotoken $COVERALLS; fi'
  16. notifications:
  17. email:
  18. - marty.schoch@gmail.com