From d364a5d0a7a1dcb1dae10577dff89920e00d1fe1 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Tue, 6 Oct 2015 08:55:45 +0300 Subject: [PATCH] Avoid OOM on haskell-src-exts --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5710991..c8d12d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,11 @@ before_install: # This line does all of the work: installs GHC if necessary, build the library, # executables, and test suites, and runs the test suites. --no-terminal works # around some quirks in Travis's terminal implementation. -script: stack $ARGS --no-terminal --install-ghc test --haddock # --pedantic +script: +# Avoid running out of memory on Travis +- stack $ARGS --no-terminal --install-ghc build --haddock haskell-src-exts + +- stack $ARGS --no-terminal --install-ghc test --haddock # --pedantic # Caching so the next build will be fast too. cache: