Permalink
Browse files

Try to speed up OS X builds

  • Loading branch information...
1 parent 1920604 commit 07147f42c2cbb47fddc4c67587e629a74c22fdd6 @snoyberg snoyberg committed Feb 3, 2017
Showing with 7 additions and 1 deletion.
  1. +7 −1 .travis.yml
View
@@ -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

0 comments on commit 07147f4

Please sign in to comment.