]>
Commit | Line | Data |
---|---|---|
1 | dist: trusty | |
2 | sudo: required | |
3 | services: | |
4 | - docker | |
5 | language: go | |
6 | go: | |
7 | - "1.11.x" | |
8 | ||
9 | install: | |
10 | # This script is used by the Travis build to install a cookie for | |
11 | # go.googlesource.com so rate limits are higher when using `go get` to fetch | |
12 | # packages that live there. | |
13 | # See: https://github.com/golang/go/issues/12933 | |
14 | - bash scripts/gogetcookie.sh | |
15 | ||
16 | script: | |
17 | - make test | |
18 | - make vet | |
19 | - make website-test | |
20 | ||
21 | branches: | |
22 | only: | |
23 | - master | |
24 | matrix: | |
25 | fast_finish: true | |
26 | allow_failures: | |
27 | - go: tip | |
28 | env: | |
29 | - GOFLAGS=-mod=vendor GO111MODULE=on |