diff --git a/.travis.yml b/.travis.yml index af21d3d9..582d9a41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -175,7 +175,13 @@ script: set -ex case "$BUILD" in stack) - stack --no-terminal $ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps + if [ `uname` = "Darwin" ] + then + # Use slightly less intensive options on OS X due to Travis timeouts + stack --no-terminal $ARGS test --fast + else + stack --no-terminal $ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps + fi ;; cabal) cabal install --enable-tests --enable-benchmarks --force-reinstalls --ghc-options=-O0 --reorder-goals --max-backjumps=-1 $CABALARGS $PACKAGES