Travis: use -j2 for dependencies installation.

Remove special clause for ghc 7.10.
This commit is contained in:
John MacFarlane 2018-06-30 12:12:36 +02:00
parent 016e0a09e2
commit ae9d9138c3

View file

@ -113,15 +113,7 @@ install:
cabal)
cabal --version
travis_retry cabal update
case "$GHCVER" in
7.10.3)
cabal install --disable-optimization --force-reinstalls yaml-0.8.30 && \
cabal install -v1 --disable-optimization --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS
;;
*)
cabal install --disable-optimization --only-dependencies --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS
;;
esac
cabal install -j2 --disable-optimization --only-dependencies --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS
;;
esac