From 758a68a52fc22f8f60b2354b6873d805f203821d Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Mon, 11 Mar 2019 21:35:08 +0100 Subject: [PATCH] .travis.yml: download modules in advance Signed-off-by: Simon Pasquier --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 018bdabc2..41255ff1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,5 +8,6 @@ go: go_import_path: github.com/prometheus/prometheus script: +- GO111MODULE=on travis_retry go mod download - make check_license style unused test staticcheck check_assets - git diff --exit-code