diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-09-10 13:53:26 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-09-10 14:14:00 +0200 |
commit | f51a397010dcf4a8308c3b0249810696375b82b2 (patch) | |
tree | 9f9d762925f8457632ec80cc2082d0f0516a300b | |
parent | ceade2fe53175555c44fdc4b65530f18aeb17591 (diff) | |
download | rneovim-f51a397010dcf4a8308c3b0249810696375b82b2.tar.gz rneovim-f51a397010dcf4a8308c3b0249810696375b82b2.tar.bz2 rneovim-f51a397010dcf4a8308c3b0249810696375b82b2.zip |
ci/travis: ignore pip3 failure
Workaround for travis issue:
https://github.com/travis-ci/travis-ci/issues/8363
Cannot check `command -v pip3`, because that may point to
`/opt/pyenv/shims/pip3` which is also (sometimes) broken.
ref 6389bde0bc96
-rwxr-xr-x | ci/before_install.sh | 10 | ||||
-rwxr-xr-x | ci/install.sh | 4 |
2 files changed, 7 insertions, 7 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 diff --git a/ci/install.sh b/ci/install.sh index 4ee99e1e44..c8a0c8825d 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -17,7 +17,9 @@ echo "Install neovim module and coveralls for Python 2." CC=cc pip2.7 -q install --user --upgrade neovim cpp-coveralls echo "Install neovim module for Python 3." -CC=cc pip3 -q install --user --upgrade neovim +# Allow failure. pyenv pip3 on travis is broken: +# https://github.com/travis-ci/travis-ci/issues/8363 +CC=cc pip3 -q install --user --upgrade neovim || true echo "Install neovim RubyGem." gem install --no-document --version ">= 0.2.0" neovim |