.travis.yml 334 B

1234567891011121314151617181920212223
  1. language: go
  2. sudo: false
  3. go_import_path: go.uber.org/zap
  4. env:
  5. global:
  6. - TEST_TIMEOUT_SCALE=10
  7. - GO111MODULE=on
  8. matrix:
  9. include:
  10. - go: 1.13.x
  11. - go: 1.14.x
  12. env: LINT=1
  13. script:
  14. - test -z "$LINT" || make lint
  15. - make test
  16. - make bench
  17. after_success:
  18. - make cover
  19. - bash <(curl -s https://codecov.io/bash)