2018-11-18 17:55:05 +00:00
|
|
|
language: go
|
|
|
|
sudo: false
|
2020-08-09 22:29:54 +00:00
|
|
|
|
2018-11-18 17:55:05 +00:00
|
|
|
go_import_path: go.uber.org/zap
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- TEST_TIMEOUT_SCALE=10
|
2020-08-09 22:29:54 +00:00
|
|
|
- GO111MODULE=on
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- go: 1.13.x
|
|
|
|
- go: 1.14.x
|
|
|
|
env: LINT=1
|
|
|
|
|
2018-11-18 17:55:05 +00:00
|
|
|
script:
|
2020-08-09 22:29:54 +00:00
|
|
|
- test -z "$LINT" || make lint
|
2018-11-18 17:55:05 +00:00
|
|
|
- make test
|
|
|
|
- make bench
|
2020-08-09 22:29:54 +00:00
|
|
|
|
2018-11-18 17:55:05 +00:00
|
|
|
after_success:
|
|
|
|
- make cover
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|