diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..1ba1993a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +dist: trusty +sudo: false +language: go +go: +- 1.8.1 + +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 + +branches: + only: + - master +matrix: + fast_finish: true + allow_failures: + - go: tip