[commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, v2.18, wip/T14529, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13, wip/ttg6-unrevert-2017-11-22: Use travis_retry for cabal invocations (862afa0)

git at git.haskell.org git at git.haskell.org
Tue Nov 28 11:51:27 UTC 2017


Repository : ssh://git@git.haskell.org/haddock

On branches: alexbiehl-patch-1,ghc-head,ghc-head1,headdock-library-1.4.5,ie_avails,master,pr-filter-maps,pr/cabal-desc,v2.18,wip/T14529,wip/revert-ttg-2017-11-20,wip/ttg-2017-10-13,wip/ttg-2017-10-31,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13,wip/ttg6-unrevert-2017-11-22
Link       : http://git.haskell.org/haddock.git/commitdiff/862afa05d4ebada8e7b57f289cf31a53fb0a7dd9

>---------------------------------------------------------------

commit 862afa05d4ebada8e7b57f289cf31a53fb0a7dd9
Author: Alex Biehl <alexbiehl at gmail.com>
Date:   Tue Apr 25 10:40:43 2017 +0200

    Use travis_retry for cabal invocations


>---------------------------------------------------------------

862afa05d4ebada8e7b57f289cf31a53fb0a7dd9
 .travis.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 9bbd0d2..f7a9d92 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



More information about the ghc-commits mailing list