From 6ccfeeb1d858d5b55c35565e98fd9a35f6113093 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 6 Aug 2018 11:54:24 +0200 Subject: [PATCH] travis: Fix vici Python tests when using Clang For some reason the clang binary that's installed in an uncommon directory could not be found anymore when installing packages via pip for the last couple of builds. While the directory is obviously contained in PATH, using `sudo -E` didn't help. So we now install the Python packages in the user's home directory to avoid having to use sudo. --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index f8ffdced3..dab45b458 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -177,7 +177,7 @@ if test "$1" = "deps"; then fi if test "$1" = "pydeps"; then - test -z "$PYDEPS" || sudo pip -q install $PYDEPS + test -z "$PYDEPS" || pip -q install --user $PYDEPS exit $? fi