From 58a47ccde00e2425364eaa5c2123e0718a2ee3f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?=
 <bjorn.erik.pedersen@gmail.com>
Date: Wed, 17 Jul 2019 15:35:31 +0200
Subject: [PATCH] travis: Ignore errors in go mod download

It sometimes fails with 502 errors, but the dependency download later when tests are run.
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 30d58247a5b..2eaad6b5e9e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,7 +30,7 @@ install:
   - cd $HOME/src/hugo
   - go get github.com/magefile/mage
 script:
-  - go mod download
+  - go mod download || true
   - mage -v test
   - mage -v check
   - mage -v hugo