From f7ea671f486f3223883b027cfe873ad9b37c3c94 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Fri, 2 Aug 2019 13:48:55 -0700 Subject: [PATCH] Use go mod on travis Signed-off-by: Tamal Saha --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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: