travis fixes
This commit is contained in:
parent
e022ad0b23
commit
a9085287fa
2 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@ DRY_RUN=false
|
|||
POSITION="none"
|
||||
SOURCES_TXT="$( dirname $DIR)/sources.txt"
|
||||
CABAL=${CABAL:-cabal}
|
||||
TRAVIS=${TRAVIS:-false}
|
||||
|
||||
declare -a SOURCES
|
||||
readarray -t SOURCES < "$SOURCES_TXT"
|
||||
|
|
|
@ -25,9 +25,9 @@ prepare_sandbox () {
|
|||
(cd "$s" && $CABAL sandbox init --sandbox=../.cabal-sandbox/ && $CABAL sandbox add-source .)
|
||||
done
|
||||
if $TRAVIS ; then
|
||||
travis_retry $CABAL install --enable-tests ${SOURCES[@]}
|
||||
travis_retry $CABAL install -v --enable-tests ${SOURCES[@]}
|
||||
else
|
||||
$CABAL install -vvv --enable-tests ${SOURCES[@]}
|
||||
$CABAL install --enable-tests ${SOURCES[@]}
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue