travis retry
This commit is contained in:
parent
ab19ea884a
commit
29de4f53d1
1 changed files with 5 additions and 1 deletions
|
@ -24,7 +24,11 @@ prepare_sandbox () {
|
|||
for s in ${SOURCES[@]} ; do
|
||||
(cd "$s" && $CABAL sandbox init --sandbox=../.cabal-sandbox/ && $CABAL sandbox add-source .)
|
||||
done
|
||||
$CABAL install --enable-tests ${SOURCES[@]}
|
||||
if $TRAVIS ; then
|
||||
travis_retry $CABAL install --enable-tests ${SOURCES[@]}
|
||||
else
|
||||
$CABAL install -vvv --enable-tests ${SOURCES[@]}
|
||||
fi
|
||||
}
|
||||
|
||||
test_each () {
|
||||
|
|
Loading…
Reference in a new issue