.travis.yml (view raw)
1sudo: false
2language: go
3go:
4 - "1.10.x"
5 - "1.11.x"
6 - tip
7matrix:
8 fast_finish: true
9 allow_failures:
10 - go: tip
11install:
12 - # 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).
13script:
14 - go get -t -v ./...
15 - diff -u <(echo -n) <(gofmt -d -s .)
16 - go tool vet .
17 - go test -v ./...