From: Tobias Brunner Date: Mon, 6 Aug 2018 09:54:24 +0000 (+0200) Subject: travis: Fix vici Python tests when using Clang X-Git-Tag: 5.7.0rc1~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ccfeeb1d858d5b55c35565e98fd9a35f6113093;p=thirdparty%2Fstrongswan.git 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. --- diff --git a/scripts/test.sh b/scripts/test.sh index f8ffdced39..dab45b458d 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