From 4a25342ae0a03c47c291cc7f93e993fd55d5f827 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 15 Oct 2016 14:43:39 +0200 Subject: [PATCH] Travis: Use fast flag for aeson. This dramatically speeds up the build, according to the aeson changelog. --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 866acfe09..aa249c4eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -93,12 +93,12 @@ install: - | case "$BUILD" in stack) - stack --no-terminal --install-ghc $ARGS test --only-dependencies + stack --no-terminal --install-ghc $ARGS --flags 'aeson:fast' test --only-dependencies ;; cabal) cabal --version 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 @@ -106,7 +106,7 @@ script: - | case "$BUILD" in 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 configure --enable-tests --enable-benchmarks -v2 --ghc-options="-O0 -Werror"