Skip to content
Browse files

.travis.yml: use travis-retry to work around connectivity issues.

See http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/
. Thanks to Mateusz Kowalczyk for the tip.
  • Loading branch information...
1 parent ad81442 commit 484fc2da89a625e31ccb68cd4e611845a14b34d9 @23Skidoo 23Skidoo committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 .travis.yml
View
6 .travis.yml
@@ -10,9 +10,9 @@ env:
# Note: the distinction between `before_install` and `install` is not important.
before_install:
- - sudo add-apt-repository -y ppa:hvr/ghc
- - sudo apt-get update
- - sudo apt-get install cabal-install-1.18 ghc-$GHCVER-prof ghc-$GHCVER-dyn happy
+ - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
+ - travis_retry sudo apt-get update
+ - travis_retry sudo apt-get install cabal-install-1.18 ghc-$GHCVER-prof ghc-$GHCVER-dyn happy
- export PATH=/opt/ghc/$GHCVER/bin:$PATH
install:

0 comments on commit 484fc2d

Please sign in to comment.
Something went wrong with that request. Please try again.