Skip to content

Commit e3103a3

Browse files
committed
Only retry cabal test for the moment in travis config
Travis seems to have random network problems and their current recommended workaround is to retry a few times. I think we only want to do this for the tests (which is where we've seen the problems) and not for the main code compile check (where we'd end up getting the same build failure three times or whatever).
1 parent 34429f6 commit e3103a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ notifications:
55
irc: "chat.freenode.net#hackage"
66

77
install:
8-
- travis_retry sudo apt-get install libicu-dev
9-
- travis_retry cabal install --only-dependencies --enable-tests --disable-optimization --ghc-options=-w
8+
- sudo apt-get install libicu-dev
9+
- cabal install --only-dependencies --enable-tests --disable-optimization --ghc-options=-w
1010

1111
script:
1212
- cabal configure --enable-tests --disable-optimization && cabal build

0 commit comments

Comments
 (0)