blob: 13d0a4f25404de04c800cc617e837e09756bf1ac [file] [log] [blame]
Don Newton7577f072020-01-06 12:41:11 -05001sudo: false
2language: go
3go_import_path: go.uber.org/atomic
4
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +00005env:
6 global:
7 - GO111MODULE=on
Don Newton7577f072020-01-06 12:41:11 -05008
9matrix:
10 include:
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +000011 - go: oldstable
12 - go: stable
13 env: LINT=1
Don Newton7577f072020-01-06 12:41:11 -050014
15cache:
16 directories:
17 - vendor
18
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +000019before_install:
20 - go version
Don Newton7577f072020-01-06 12:41:11 -050021
22script:
David K. Bainbridgee05cf0c2021-08-19 03:16:50 +000023 - test -z "$LINT" || make lint
24 - make cover
Don Newton7577f072020-01-06 12:41:11 -050025
26after_success:
27 - bash <(curl -s https://codecov.io/bash)