]>
Commit | Line | Data |
---|---|---|
7c735cfa AG |
1 | dist: trusty |
2 | sudo: required | |
3 | services: | |
4 | - docker | |
5 | language: go | |
6 | go: | |
7 | - "1.12.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 | matrix: | |
22 | fast_finish: true | |
23 | allow_failures: | |
24 | - go: tip | |
12576b10 AG |
25 | |
26 | cache: | |
27 | directories: | |
28 | - $GOPATH/src | |
29 | - $HOME/.cache/go-build | |
30 | - $HOME/gopath/pkg/mod | |
31 | ||
7c735cfa AG |
32 | env: |
33 | GO111MODULE=on |