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: