diff --git a/scripts/lib/common.sh b/scripts/lib/common.sh index 002d474a..bbf3a25a 100644 --- a/scripts/lib/common.sh +++ b/scripts/lib/common.sh @@ -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" diff --git a/scripts/test-all.sh b/scripts/test-all.sh index cf064f7a..a8a66e99 100755 --- a/scripts/test-all.sh +++ b/scripts/test-all.sh @@ -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 }