aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..a6b90ed
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,34 @@
1dist: trusty
2sudo: required
3services:
4- docker
5language: go
6go:
7 - "1.12.x"
8 - "1.11.x"
9
10install:
11# This script is used by the Travis build to install a cookie for
12# go.googlesource.com so rate limits are higher when using `go get` to fetch
13# packages that live there.
14# See: https://github.com/golang/go/issues/12933
15- bash scripts/gogetcookie.sh
16
17script:
18- make test
19- make vet
20- make website-test
21
22matrix:
23 fast_finish: true
24 allow_failures:
25 - go: tip
26
27cache:
28 directories:
29 - $GOPATH/src
30 - $HOME/.cache/go-build
31 - $HOME/gopath/pkg/mod
32
33env:
34 GO111MODULE=on