.travis.yml 601 B

1234567891011121314151617181920212223242526272829303132333435
  1. language: go
  2. sudo: false
  3. go:
  4. - 1.8.x
  5. - 1.9.x
  6. - 1.10.x
  7. - 1.11.x
  8. - 1.12.x
  9. - master
  10. matrix:
  11. fast_finish: true
  12. include:
  13. - go: 1.11.x
  14. env: GO111MODULE=on
  15. - go: 1.12.x
  16. env: GO111MODULE=on
  17. install:
  18. - if [[ "${GO111MODULE}" = "on" ]]; then go mod download; else go get -t -v ./...; fi
  19. script:
  20. - go test -v -covermode=atomic -coverprofile=coverage.out
  21. after_success:
  22. - bash <(curl -s https://codecov.io/bash)
  23. notifications:
  24. webhooks:
  25. urls:
  26. - https://webhooks.gitter.im/e/acc2c57482e94b44f557
  27. on_success: change
  28. on_failure: always
  29. on_start: false