blob: 13d0a4f25404de04c800cc617e837e09756bf1ac [file] [log] [blame]
Matteo Scandoloa4285862020-12-01 18:10:10 -08001sudo: false
2language: go
3go_import_path: go.uber.org/atomic
4
David K. Bainbridge06631892021-08-19 13:07:00 +00005env:
6 global:
7 - GO111MODULE=on
Matteo Scandoloa4285862020-12-01 18:10:10 -08008
9matrix:
10 include:
David K. Bainbridge06631892021-08-19 13:07:00 +000011 - go: oldstable
12 - go: stable
13 env: LINT=1
Matteo Scandoloa4285862020-12-01 18:10:10 -080014
15cache:
16 directories:
17 - vendor
18
David K. Bainbridge06631892021-08-19 13:07:00 +000019before_install:
20 - go version
Matteo Scandoloa4285862020-12-01 18:10:10 -080021
22script:
David K. Bainbridge06631892021-08-19 13:07:00 +000023 - test -z "$LINT" || make lint
24 - make cover
Matteo Scandoloa4285862020-12-01 18:10:10 -080025
26after_success:
27 - bash <(curl -s https://codecov.io/bash)