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:
|
|
|
|
- go: 1.12.x
|
2020-08-09 15:29:54 -07:00
|
|
|
- go: 1.13.x
|
|
|
|
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)
|