blob: ba95cdd15c3112a80bf448a0f2fd491a48b30b03 [file] [log] [blame]
khenaidooab1f7bd2019-11-14 14:00:27 -05001sudo: false
2language: go
3go:
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
11matrix:
12 allow_failures:
13 - go: master
14 fast_finish: true
15install:
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).
17script:
18 - go get -t -v ./...
19 - diff -u <(echo -n) <(gofmt -d -s .)
20 - go tool vet .
21 - go test -v -race ./...