khenaidoo | ab1f7bd | 2019-11-14 14:00:27 -0500 | [diff] [blame] | 1 | sudo: false |
2 | language: go | ||||
3 | go: | ||||
4 | - 1.3.x | ||||
5 | - 1.5.x | ||||
6 | - 1.6.x | ||||
7 | - 1.7.x | ||||
8 | - 1.8.x | ||||
9 | - 1.9.x | ||||
10 | - master | ||||
11 | matrix: | ||||
12 | allow_failures: | ||||
13 | - go: master | ||||
14 | fast_finish: true | ||||
15 | install: | ||||
16 | - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step). | ||||
17 | script: | ||||
18 | - go get -t -v ./... | ||||
19 | - diff -u <(echo -n) <(gofmt -d -s .) | ||||
20 | - go tool vet . | ||||
21 | - go test -v -race ./... |