Elia Battiston | c8d0d46 | 2022-02-22 16:30:51 +0100 | [diff] [blame^] | 1 | sudo: false |
2 | language: go | ||||
3 | go_import_path: go.uber.org/atomic | ||||
4 | |||||
5 | env: | ||||
6 | global: | ||||
7 | - GO111MODULE=on | ||||
8 | |||||
9 | matrix: | ||||
10 | include: | ||||
11 | - go: oldstable | ||||
12 | - go: stable | ||||
13 | env: LINT=1 | ||||
14 | |||||
15 | cache: | ||||
16 | directories: | ||||
17 | - vendor | ||||
18 | |||||
19 | before_install: | ||||
20 | - go version | ||||
21 | |||||
22 | script: | ||||
23 | - test -z "$LINT" || make lint | ||||
24 | - make cover | ||||
25 | |||||
26 | after_success: | ||||
27 | - bash <(curl -s https://codecov.io/bash) |