.travis.yml 498 B

1234567891011121314151617181920212223242526
  1. language: go
  2. go:
  3. - 1.13.1
  4. - tip
  5. matrix:
  6. allow_failures:
  7. - go: tip
  8. notifications:
  9. email:
  10. recipients: dean.karn@gmail.com
  11. on_success: change
  12. on_failure: always
  13. before_install:
  14. - go install github.com/mattn/goveralls
  15. # Only clone the most recent commit.
  16. git:
  17. depth: 1
  18. script:
  19. - go test -v -race -covermode=atomic -coverprofile=coverage.coverprofile ./...
  20. after_success: |
  21. goveralls -coverprofile=coverage.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN