aboutsummaryrefslogtreecommitdiff
path: root/ci/before_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/before_install.sh')
-rwxr-xr-xci/before_install.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/ci/before_install.sh b/ci/before_install.sh
index 8b0603eb16..f84ad935bc 100755
--- a/ci/before_install.sh
+++ b/ci/before_install.sh
@@ -32,10 +32,8 @@ if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
echo "Upgrade Python 3 pip."
pip3 -q install --user --upgrade pip
else
- if command -v pip3 ; then
- echo "Upgrade Python 3 pip."
- pip3 -q install --user --upgrade pip
- else
- echo 'warning: missing pip3'
- fi
+ echo "Upgrade Python 3 pip."
+ # Allow failure. pyenv pip3 on travis is broken:
+ # https://github.com/travis-ci/travis-ci/issues/8363
+ pip3 -q install --user --upgrade pip || true
fi