diff options
Diffstat (limited to '.ci/before_install.sh')
-rwxr-xr-x | .ci/before_install.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/.ci/before_install.sh b/.ci/before_install.sh index 1bdd89de42..9aac37de12 100755 --- a/.ci/before_install.sh +++ b/.ci/before_install.sh @@ -11,18 +11,15 @@ if [[ "${TRAVIS_OS_NAME}" == osx ]]; then brew update fi -echo "Upgrade Python 2's pip." +echo "Upgrade Python 2 pip." pip2.7 -q install --user --upgrade pip if [[ "${TRAVIS_OS_NAME}" == osx ]]; then echo "Install Python 3." brew install python3 - echo "Upgrade Python 3's pip." + echo "Upgrade Python 3 pip." pip3 -q install --user --upgrade pip else - # TODO: Replace with upgrade when Travis gets python3-pip package. - echo "Install pip for Python 3." - curl -sSL https://bootstrap.pypa.io/get-pip.py -o "${HOME}/get-pip.py" - # After this, pip in PATH will refer to Python 3's pip. - python3.3 "${HOME}/get-pip.py" --user --upgrade + echo "Upgrade Python 3 pip." + pip3 -q install --user --upgrade pip fi |