.travis.yml 395 B

1234567891011121314151617181920212223
  1. language: go
  2. sudo: false
  3. go:
  4. - 1.7.x
  5. - 1.8.x
  6. - 1.9.x
  7. - 1.10.x
  8. - 1.11.x
  9. - tip
  10. matrix:
  11. allow_failures:
  12. - go: tip
  13. fast_finish: true
  14. env:
  15. - GO111MODULE=on
  16. before_install:
  17. - go get golang.org/x/tools/cmd/cover
  18. script:
  19. - go test ./... -race -coverprofile=coverage.txt -covermode=atomic
  20. after_success:
  21. - bash <(curl -s https://codecov.io/bash)
  22. notifications:
  23. email: false