From 2524aeac3a116b2f6b6640e6a56a1dcb3c8478ff Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 24 Jul 2019 09:51:02 +0930 Subject: [PATCH] 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 --- .travis/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis/build.sh b/.travis/build.sh index 7f0fab92a..7bb9a0e45 100755 --- a/.travis/build.sh +++ b/.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