2020-05-11 20:57:46 +02:00
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go_import_path: go.uber.org/atomic
|
|
|
|
|
2020-06-27 16:45:12 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GO111MODULE=on
|
2020-05-11 20:57:46 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- go: 1.12.x
|
2020-06-27 16:45:12 +02:00
|
|
|
- go: 1.13.x
|
|
|
|
env: LINT=1
|
2020-05-11 20:57:46 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- vendor
|
|
|
|
|
2020-06-27 16:45:12 +02:00
|
|
|
before_install:
|
|
|
|
- go version
|
2020-05-11 20:57:46 +02:00
|
|
|
|
|
|
|
script:
|
2020-06-27 16:45:12 +02:00
|
|
|
- test -z "$LINT" || make lint
|
|
|
|
- make cover
|
2020-05-11 20:57:46 +02:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|