Skip to content

Commit

Permalink
fix: Use -H flag of sudo when running pip
Browse files Browse the repository at this point in the history
  • Loading branch information
schuhschuh committed May 4, 2016
1 parent cd2ea03 commit 8b321f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/build/depends.sh
Expand Up @@ -17,7 +17,7 @@ set -e
# Update package managers
[[ $TRAVIS_OS_NAME != linux ]] || sudo apt-get update -qq
[[ $TRAVIS_OS_NAME != osx ]] || brew update
[ -z "$(which pip)" ] || sudo pip install --upgrade pip
[ -z "$(which pip)" ] || sudo -H pip install --upgrade pip

# Install Python 3
if [[ $python == 3 ]]; then
Expand Down
2 changes: 1 addition & 1 deletion test/build/sphinx.sh
Expand Up @@ -23,4 +23,4 @@ if [[ $latex == yes ]]; then
fi

# Install Sphinx
sudo pip install -U Sphinx
sudo -H pip install -U Sphinx

0 comments on commit 8b321f7

Please sign in to comment.