Holger Hildebrandt | fa07499 | 2020-03-27 15:42:06 +0000 | [diff] [blame] | 1 | sudo: false |
2 | language: go | ||||
3 | go_import_path: go.uber.org/atomic | ||||
4 | |||||
khenaidoo | 7d3c558 | 2021-08-11 18:09:44 -0400 | [diff] [blame] | 5 | env: |
6 | global: | ||||
7 | - GO111MODULE=on | ||||
Holger Hildebrandt | fa07499 | 2020-03-27 15:42:06 +0000 | [diff] [blame] | 8 | |
9 | matrix: | ||||
10 | include: | ||||
khenaidoo | 7d3c558 | 2021-08-11 18:09:44 -0400 | [diff] [blame] | 11 | - go: oldstable |
12 | - go: stable | ||||
13 | env: LINT=1 | ||||
Holger Hildebrandt | fa07499 | 2020-03-27 15:42:06 +0000 | [diff] [blame] | 14 | |
15 | cache: | ||||
16 | directories: | ||||
17 | - vendor | ||||
18 | |||||
khenaidoo | 7d3c558 | 2021-08-11 18:09:44 -0400 | [diff] [blame] | 19 | before_install: |
20 | - go version | ||||
Holger Hildebrandt | fa07499 | 2020-03-27 15:42:06 +0000 | [diff] [blame] | 21 | |
22 | script: | ||||
khenaidoo | 7d3c558 | 2021-08-11 18:09:44 -0400 | [diff] [blame] | 23 | - test -z "$LINT" || make lint |
24 | - make cover | ||||
Holger Hildebrandt | fa07499 | 2020-03-27 15:42:06 +0000 | [diff] [blame] | 25 | |
26 | after_success: | ||||
27 | - bash <(curl -s https://codecov.io/bash) |