diff --git a/.travis.yml b/.travis.yml index 7d546ee7..aff22c3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,16 @@ go: - 1.x - tip +env: + global: + - GOFLAGS=-mod=vendor + - GO111MODULE=on + +cache: + directories: + - $HOME/.cache/go-build + - $GOPATH/pkg/mod + install: true script: