mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 17:56:32 +00:00
Use -j2 for travis builds. (See #2110.)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user