2019-07-24 07:58:01 +00:00
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go_import_path: go.uber.org/atomic
|
|
|
|
|
2019-11-25 20:16:00 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GO111MODULE=on
|
2019-07-24 07:58:01 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- go: 1.12.x
|
2019-11-25 20:16:00 +00:00
|
|
|
- go: 1.13.x
|
|
|
|
env: LINT=1
|
2019-07-24 07:58:01 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- vendor
|
|
|
|
|
2019-11-25 20:16:00 +00:00
|
|
|
before_install:
|
|
|
|
- go version
|
2019-07-24 07:58:01 +00:00
|
|
|
|
|
|
|
script:
|
2019-11-25 20:16:00 +00:00
|
|
|
- test -z "$LINT" || make lint
|
|
|
|
- make cover
|
2019-07-24 07:58:01 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|