2017-06-09 18:30:08 +00:00
|
|
|
dist: trusty
|
2018-04-27 15:57:41 +00:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
2017-06-09 18:30:08 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2018-09-05 22:20:00 +00:00
|
|
|
- "1.11"
|
2017-06-09 18:30:08 +00:00
|
|
|
|
|
|
|
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
|
2018-12-11 21:30:47 +00:00
|
|
|
- make tools
|
2017-06-09 18:30:08 +00:00
|
|
|
|
|
|
|
script:
|
2018-12-11 21:30:47 +00:00
|
|
|
- make lint
|
2017-06-09 18:30:08 +00:00
|
|
|
- make test
|
2018-04-27 15:57:41 +00:00
|
|
|
- make website-test
|
2017-06-09 18:30:08 +00:00
|
|
|
|
2018-12-20 21:43:52 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=off
|
|
|
|
|
2017-06-09 18:30:08 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-11-09 00:11:33 +00:00
|
|
|
- 2.0.0
|
2017-06-09 18:30:08 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|