2018-11-18 17:55:05 +00:00
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go_import_path: go.uber.org/atomic
|
|
|
|
|
2020-08-09 22:29:54 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GO111MODULE=on
|
2019-06-16 21:33:25 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2020-12-31 13:48:12 +00:00
|
|
|
- go: oldstable
|
|
|
|
- go: stable
|
2020-08-09 22:29:54 +00:00
|
|
|
env: LINT=1
|
2018-11-18 17:55:05 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- vendor
|
|
|
|
|
2020-08-09 22:29:54 +00:00
|
|
|
before_install:
|
|
|
|
- go version
|
2018-11-18 17:55:05 +00:00
|
|
|
|
|
|
|
script:
|
2020-08-09 22:29:54 +00:00
|
|
|
- test -z "$LINT" || make lint
|
|
|
|
- make cover
|
2018-11-18 17:55:05 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|