blob: b5ffbe03d86b4254aa74731b7444b0dcd95ee600 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001sudo: false
2language: go
3go:
4 - 1.6.x
5 - 1.7.x
6 - 1.8.x
7 - 1.9.x
8 - master
9matrix:
10 allow_failures:
11 - go: master
12 fast_finish: true
13install:
14 - # 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).
15script:
16 - go get -t -v ./...
17 - diff -u <(echo -n) <(gofmt -d .)
18 - go tool vet .
19 - go test -v -race ./...