.travis.yml 348 B

123456789101112131415161718192021222324252627
  1. sudo: false
  2. language: go
  3. go_import_path: go.uber.org/atomic
  4. env:
  5. global:
  6. - GO111MODULE=on
  7. matrix:
  8. include:
  9. - go: 1.12.x
  10. - go: 1.13.x
  11. env: LINT=1
  12. cache:
  13. directories:
  14. - vendor
  15. before_install:
  16. - go version
  17. script:
  18. - test -z "$LINT" || make lint
  19. - make cover
  20. after_success:
  21. - bash <(curl -s https://codecov.io/bash)