2019-04-13 07:44:06 +00:00
|
|
|
language: go
|
|
|
|
sudo: false
|
2020-05-14 22:45:10 +00:00
|
|
|
|
2019-04-13 07:44:06 +00:00
|
|
|
go_import_path: go.uber.org/zap
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- TEST_TIMEOUT_SCALE=10
|
2020-05-14 22:45:10 +00:00
|
|
|
- GO111MODULE=on
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- go: 1.12.x
|
|
|
|
- go: 1.13.x
|
|
|
|
env: LINT=1
|
|
|
|
|
2019-04-13 07:44:06 +00:00
|
|
|
script:
|
2020-05-14 22:45:10 +00:00
|
|
|
- test -z "$LINT" || make lint
|
2019-04-13 07:44:06 +00:00
|
|
|
- make test
|
|
|
|
- make bench
|
2020-05-14 22:45:10 +00:00
|
|
|
|
2019-04-13 07:44:06 +00:00
|
|
|
after_success:
|
|
|
|
- make cover
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|