.travis.yml
1language: go
2
3go:
4 - 1.10.x
5 - 1.11.x
6 - 1.12.x
7 - 1.13.x
8 - master
9
10stages:
11 - lint
12 - test
13
14jobs:
15 include:
16 - stage: lint
17 script:
18 - go get golang.org/x/lint/golint
19 - golint -set_exit_status
20 - go vet -v
21 - stage: test
22 script:
23 - go test -v
24
25matrix:
26 allow_failures:
27 - go: master
28 fast_finish: true