summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-25 12:42:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-25 12:42:53 -0700
commitcfd69548b337c7ad57efd60f0634eff901c68c3a (patch)
tree0d2a5b843574e31d771f044708b4976412b7f226 /.travis.yml
parentd3009e2027c56f162ca4eb1db846108ce16b94ee (diff)
Use -j2 for travis builds. (See #2110.)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 0d98407b3..89f175449 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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