Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 74eb067

Browse files
committed
Travis single process build to avoid OOM
1 parent e42a387 commit 74eb067

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ install:
2727
# Bring in GHC if not already present
2828
- ./travis_long stack +RTS -N2 -RTS setup
2929
# Build the dependencies only.
30-
- ./travis_long stack +RTS -N2 -RTS build --only-snapshot --pedantic
30+
# - ./travis_long stack +RTS -N2 -RTS build --only-snapshot --pedantic
31+
- ./travis_long stack build --only-snapshot --pedantic
3132

3233
script:
33-
# - ./travis_long stack +RTS -N2 -RTS build --pedantic
34-
- ./travis_long stack +RTS -N2 -RTS build
34+
- ./travis_long stack build --pedantic
35+
# - ./travis_long stack +RTS -N2 -RTS build
3536
# - ./travis_long stack +RTS -N2 -RTS build --test --pedantic
36-
- ./travis_long stack +RTS -N2 -RTS build --test
37+
- ./travis_long stack build --test --pedantic
38+
# - ./travis_long stack +RTS -N2 -RTS build --test
3739
- ./travis_long stack exec emacs24 -- -q --batch -L elisp -l elisp/tests/haskell-ide-engine-tests.el -f ert-run-tests-batch-and-exit
3840
# Re-enable the haddock tests when the warning in HaRe does not trigger a problem
3941
# - ./travis_long stack +RTS -N2 -RTS build --test --haddock

0 commit comments

Comments
 (0)