Skip to content

Commit

Permalink
travis: reduce parallelism for valgrind
Browse files Browse the repository at this point in the history
We're hitting OOM at the moment: reduce number of valgrinds
we run at once.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Jul 24, 2019
1 parent 1044e37 commit 2524aea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2524aea

Please sign in to comment.