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