aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xci/before_install.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/ci/before_install.sh b/ci/before_install.sh
index 2a8eb9ce1f..86dd78af48 100755
--- a/ci/before_install.sh
+++ b/ci/before_install.sh
@@ -9,8 +9,6 @@ fi
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
>/dev/null brew update
- echo "Upgrade Python 3"
- >/dev/null brew upgrade python
fi
echo 'python info:'
@@ -27,7 +25,7 @@ echo 'python info:'
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
echo "Upgrade Python 3 pip"
- pip3 -q install --user --upgrade pip
+ python3 -m pip -q install --user --upgrade pip
else
echo "Upgrade Python 2 pip"
python2.7 -m pip -q install --user --upgrade pip