2020-07-21 08:08:06 +00:00
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go_import_path: go.uber.org/goleak
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GO111MODULE=on
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- go: 1.12.x
|
|
|
|
- go: 1.13.x
|
2020-08-24 12:03:47 +00:00
|
|
|
- go: 1.14.x
|
2020-07-21 08:08:06 +00:00
|
|
|
env: LINT=1
|
|
|
|
|
|
|
|
install:
|
|
|
|
- make install
|
|
|
|
|
|
|
|
script:
|
|
|
|
- test -z "$LINT" || make lint
|
|
|
|
- make test
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- make cover
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|