Travis: Use fast flag for aeson.
This dramatically speeds up the build, according to the aeson changelog.
This commit is contained in:
parent
462c140eb6
commit
4a25342ae0
1 changed files with 3 additions and 3 deletions
|
@ -93,12 +93,12 @@ install:
|
||||||
- |
|
- |
|
||||||
case "$BUILD" in
|
case "$BUILD" in
|
||||||
stack)
|
stack)
|
||||||
stack --no-terminal --install-ghc $ARGS test --only-dependencies
|
stack --no-terminal --install-ghc $ARGS --flags 'aeson:fast' test --only-dependencies
|
||||||
;;
|
;;
|
||||||
cabal)
|
cabal)
|
||||||
cabal --version
|
cabal --version
|
||||||
travis_retry cabal update
|
travis_retry cabal update
|
||||||
cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS
|
cabal install --only-dependencies -ffast --enable-tests --enable-benchmarks --force-reinstalls --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ script:
|
||||||
- |
|
- |
|
||||||
case "$BUILD" in
|
case "$BUILD" in
|
||||||
stack)
|
stack)
|
||||||
stack --no-terminal $ARGS test --haddock --no-haddock-deps --ghc-options="-Wall -fno-warn-unused-do-bind -Werror"
|
stack --no-terminal $ARGS --flags 'aeson:fast' test --haddock --no-haddock-deps --ghc-options="-Wall -fno-warn-unused-do-bind -Werror"
|
||||||
;;
|
;;
|
||||||
cabal)
|
cabal)
|
||||||
cabal configure --enable-tests --enable-benchmarks -v2 --ghc-options="-O0 -Werror"
|
cabal configure --enable-tests --enable-benchmarks -v2 --ghc-options="-O0 -Werror"
|
||||||
|
|
Loading…
Reference in a new issue