blob: 13d0a4f25404de04c800cc617e837e09756bf1ac [file] [log] [blame]
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001sudo: false
2language: go
3go_import_path: go.uber.org/atomic
4
khenaidoo7d3c5582021-08-11 18:09:44 -04005env:
6 global:
7 - GO111MODULE=on
Holger Hildebrandtfa074992020-03-27 15:42:06 +00008
9matrix:
10 include:
khenaidoo7d3c5582021-08-11 18:09:44 -040011 - go: oldstable
12 - go: stable
13 env: LINT=1
Holger Hildebrandtfa074992020-03-27 15:42:06 +000014
15cache:
16 directories:
17 - vendor
18
khenaidoo7d3c5582021-08-11 18:09:44 -040019before_install:
20 - go version
Holger Hildebrandtfa074992020-03-27 15:42:06 +000021
22script:
khenaidoo7d3c5582021-08-11 18:09:44 -040023 - test -z "$LINT" || make lint
24 - make cover
Holger Hildebrandtfa074992020-03-27 15:42:06 +000025
26after_success:
27 - bash <(curl -s https://codecov.io/bash)