diff --git a/.travis/build.sh b/.travis/build.sh index 7bb9a0e45..0537bf804 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -10,6 +10,7 @@ export COMPAT=${COMPAT:-1} export PATH=$CWD/dependencies/bin:"$HOME"/.local/bin:"$PATH" export TIMEOUT=180 export PYTEST_PAR=2 +export PYTHONPATH=$PWD/contrib/pylightning:$PYTHONPATH # If we're not in developer mode, tests spend a lot of time waiting for gossip! # But if we're under valgrind, we can run out of memory! if [ "$DEVELOPER" = 0 ] && [ "$VALGRIND" = 0 ]; then