blob: 13d0a4f25404de04c800cc617e837e09756bf1ac [file] [log] [blame]
Girish Gowdra64503432020-01-07 10:59:10 +05301sudo: false
2language: go
3go_import_path: go.uber.org/atomic
4
Girish Gowdra390f12f2021-07-01 15:53:49 -07005env:
6 global:
7 - GO111MODULE=on
Girish Gowdra64503432020-01-07 10:59:10 +05308
9matrix:
10 include:
Girish Gowdra390f12f2021-07-01 15:53:49 -070011 - go: oldstable
12 - go: stable
13 env: LINT=1
Girish Gowdra64503432020-01-07 10:59:10 +053014
15cache:
16 directories:
17 - vendor
18
Girish Gowdra390f12f2021-07-01 15:53:49 -070019before_install:
20 - go version
Girish Gowdra64503432020-01-07 10:59:10 +053021
22script:
Girish Gowdra390f12f2021-07-01 15:53:49 -070023 - test -z "$LINT" || make lint
24 - make cover
Girish Gowdra64503432020-01-07 10:59:10 +053025
26after_success:
27 - bash <(curl -s https://codecov.io/bash)