From 03bbabe139be16230cde702bfd48f9be529ab710 Mon Sep 17 00:00:00 2001 From: David Pordomingo Date: Fri, 12 Apr 2019 18:23:27 +0200 Subject: [PATCH] use vendor if it exists Signed-off-by: David Pordomingo --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bc77542d..a5d8c939 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,9 @@ go: - '1.12.x' env: - - GO111MODULE=on + global: + - GO111MODULE=on + - GOFLAGS=-mod=vendor before_install: - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90