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.
This commit is contained in:
Tobias Brunner
2018-08-06 15:59:09 +02:00
parent a019c95b72
commit 6ccfeeb1d8
+1 -1
View File
@@ -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