Browse Source

travis: reduce parallelism for valgrind

We're hitting OOM at the moment: reduce number of valgrinds
we run at once.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
pull/2938/head
Rusty Russell 5 years ago
parent
commit
2524aeac3a
  1. 3
      .travis/build.sh

3
.travis/build.sh

@ -11,7 +11,8 @@ export PATH=$CWD/dependencies/bin:"$HOME"/.local/bin:"$PATH"
export TIMEOUT=180
export PYTEST_PAR=2
# If we're not in developer mode, tests spend a lot of time waiting for gossip!
if [ "$DEVELOPER" = 0 ]; then
# But if we're under valgrind, we can run out of memory!
if [ "$DEVELOPER" = 0 ] && [ "$VALGRIND" = 0 ]; then
PYTEST_PAR=4
fi

Loading…
Cancel
Save