blob: 13d0a4f25404de04c800cc617e837e09756bf1ac [file] [log] [blame]
Scott Baker2c1c4822019-10-16 11:02:41 -07001sudo: false
2language: go
3go_import_path: go.uber.org/atomic
4
khenaidoo26721882021-08-11 17:42:52 -04005env:
6 global:
7 - GO111MODULE=on
Scott Baker2c1c4822019-10-16 11:02:41 -07008
9matrix:
10 include:
khenaidoo26721882021-08-11 17:42:52 -040011 - go: oldstable
12 - go: stable
13 env: LINT=1
Scott Baker2c1c4822019-10-16 11:02:41 -070014
15cache:
16 directories:
17 - vendor
18
khenaidoo26721882021-08-11 17:42:52 -040019before_install:
20 - go version
Scott Baker2c1c4822019-10-16 11:02:41 -070021
22script:
khenaidoo26721882021-08-11 17:42:52 -040023 - test -z "$LINT" || make lint
24 - make cover
Scott Baker2c1c4822019-10-16 11:02:41 -070025
26after_success:
27 - bash <(curl -s https://codecov.io/bash)