Use -j2 for travis builds. (See #2110.)

This commit is contained in:
John MacFarlane
2015-04-25 12:42:53 -07:00
parent d3009e2027
commit cfd69548b3
+2 -2
View File
@@ -24,11 +24,11 @@ before_install:
install:
- cabal-$CABALVER update
# - git clone https://github.com/jgm/pandoc-types && cd pandoc-types && cabal-1.18 install && cd ..
- cabal-$CABALVER install --only-dependencies --enable-tests
- cabal-$CABALVER install -j2 --only-dependencies --enable-tests
# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
script:
- cabal-$CABALVER configure --enable-tests -v2 # -v2 provides useful information for debugging
- cabal-$CABALVER build --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)
- cabal-$CABALVER build -j2 --ghc-options=$GHCOPTS # this builds all libraries and executables (including tests/benchmarks)
- cabal-$CABALVER test
- cabal-$CABALVER check