aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-01-01 20:22:03 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2018-01-01 20:22:03 -0800
commit84a4d3685cda5df3e69599afbbde8a8ec556a800 (patch)
tree818e699bf72875c092179ca08866dc30bd0abd3e
parent5733183b3de4ab93a1341410eef4249f09648f3f (diff)
downloadpandoc-84a4d3685cda5df3e69599afbbde8a8ec556a800.tar.gz
Travis: try running tests single-threaded.
This should ensure continuous output, so we don't have 10m blank spots which cause travis to kill.
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index bb97802ac..f9f09bca7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -127,13 +127,13 @@ script:
stack)
ulimit -n 4096
stack config set system-ghc --global true
- stack --no-terminal $ARGS test --fast --flag 'aeson:fast' --flag pandoc:embed_data_files --haddock --no-haddock-deps --ghc-options="$OPTS"
+ stack --no-terminal $ARGS test --fast --flag 'aeson:fast' --flag pandoc:embed_data_files --haddock --no-haddock-deps --ghc-options="$OPTS" --jobs=1
;;
cabal)
cabal sdist --output-directory=sourcedist && \
cd sourcedist && \
cabal configure --disable-optimization --enable-tests -v2 --flags="$FLAGS" --ghc-options="$OPTS" $CABALARGS && \
- cabal build -v2 -j2 && \
+ cabal build -v2 -j1 && \
cabal test
;;
esac