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:
|
2017-10-06 18:27:26 +00:00
|
|
|
- 1.9.1
|
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
|
|
|
|
- go get github.com/kardianos/govendor
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make test
|
|
|
|
- make vendor-status
|
|
|
|
- make vet
|
2018-04-27 15:57:41 +00:00
|
|
|
- make website-test
|
2017-06-09 18:30:08 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|