travis fixes

This commit is contained in:
Julian K. Arni 2015-06-12 15:45:27 +02:00
parent e022ad0b23
commit a9085287fa
2 changed files with 3 additions and 2 deletions

View file

@ -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"

View file

@ -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
}