aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlex Biehl <alexbiehl@gmail.com>2017-04-25 10:40:43 +0200
committerGitHub <noreply@github.com>2017-04-25 10:40:43 +0200
commit862afa05d4ebada8e7b57f289cf31a53fb0a7dd9 (patch)
treee075b0cf135963b011fb681052d2d8c66338a116 /.travis.yml
parent83c460c13957ab0a9a30cfa8d5b9b095b9e8d804 (diff)
Use travis_retry for cabal invocations
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 9bbd0d24..f7a9d921 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -51,8 +51,8 @@ install:
- sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
- rm -fv cabal.project.local
- rm -f cabal.project.freeze
- - cabal new-build -w ${HC} ${TEST} ${BENCH} --dep -j2 all -v3
- - cabal new-build -w ${HC} --disable-tests --disable-benchmarks --dep -j2 all -v3
+ - travis_retry cabal new-build -w ${HC} ${TEST} ${BENCH} --dep -j2 all
+ - travis_retry cabal new-build -w ${HC} --disable-tests --disable-benchmarks --dep -j2 all
# Here starts the actual work to be performed for the package under test;
# any command which exits with a non-zero exit code causes the build to fail.
@@ -74,7 +74,7 @@ script:
# - rm -rf ./dist-newstyle
# build & run tests
- - cabal new-build -w ${HC} ${TEST} ${BENCH} all -v3
- - if [ "x$TEST" = "x--enable-tests" ]; then cabal new-test -w ${HC} ${TEST} all -v3; fi
+ - cabal new-build -w ${HC} ${TEST} ${BENCH} all
+ - if [ "x$TEST" = "x--enable-tests" ]; then cabal new-test -w ${HC} ${TEST} all; fi
# EOF