dist: trusty
-sudo: false
+sudo: required
+services:
+- docker
language: go
go:
-- 1.8.1
+ - "1.11.x"
install:
# This script is used by the Travis build to install a cookie for
# 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
+- make website-test
branches:
only:
fast_finish: true
allow_failures:
- go: tip
+env:
+ - GOFLAGS=-mod=vendor GO111MODULE=on