travis: Ignore errors in go mod download
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 17 Jul 2019 13:35:31 +0000 (15:35 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 17 Jul 2019 13:35:31 +0000 (15:35 +0200)
It sometimes fails with 502 errors, but the dependency download later when tests are run.

.travis.yml

index 30d58247a5bb713a7113929abecefb0b6345a295..2eaad6b5e9e4713d3129e966ed6e4d848e975f2d 100644 (file)
@@ -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