aboutsummaryrefslogblamecommitdiffhomepage
path: root/.travis.yml
blob: 772e140f19d3b22141a18234a1ca1f3249f47336 (plain) (tree)























                                                                            






                                 

                
dist: trusty
sudo: required
services:
- docker
language: go
go:
  - "1.12.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