Skip to content

Commit

Permalink
Limit parallelism in CI builds to avoid out-of-memory errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lexi-lambda committed Dec 7, 2017
1 parent 47b5375 commit cbe6d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ before_install:
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'

install:
- stack --no-terminal --install-ghc $ARGS test --bench --only-dependencies
- stack -j1 --no-terminal --install-ghc $ARGS test --bench --only-dependencies

script:
- stack --no-terminal $ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps --ghc-options=-Werror
- stack -j1 --no-terminal $ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps --ghc-options=-Werror

0 comments on commit cbe6d68

Please sign in to comment.