aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: a6b90ed4f477de942559a4a26a3901285c1c33f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
dist: trusty
sudo: required
services:
- docker
language: go
go:
  - "1.12.x"
  - "1.11.x"

install:
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh

script:
- make test
- make vet
- make website-test

matrix:
  fast_finish: true
  allow_failures:
  - go: tip

cache:
  directories:
  - $GOPATH/src
  - $HOME/.cache/go-build        
  - $HOME/gopath/pkg/mod

env:
  GO111MODULE=on