From 487eaf8d456de17449ade6826ca0d13a64db576d Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 19 Jun 2019 20:28:37 +0200 Subject: [PATCH] CI: use -m to invoke pip #10275 Also install "pynvim" instead of "neovim". Ref: https://github.com/neovim/neovim/pull/10228#discussion_r295266859 --- ci/before_install.sh | 4 ++-- ci/install.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/before_install.sh b/ci/before_install.sh index 79738d8bbf..ff2abc0e12 100755 --- a/ci/before_install.sh +++ b/ci/before_install.sh @@ -32,8 +32,8 @@ if [[ "${TRAVIS_OS_NAME}" != osx ]] && command -v pyenv; then python2 --version python --version - pip3 --version - pip2 --version + python3 -m pip --version + python2 -m pip --version ) 2>&1 | sed 's/^/ /' fi diff --git a/ci/install.sh b/ci/install.sh index 27a8aa05c1..afe55bbff5 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -13,9 +13,9 @@ fi # Use default CC to avoid compilation problems when installing Python modules. echo "Install neovim module for Python 3." -CC=cc pip3 -q install --user --upgrade neovim +CC=cc python3 -m pip -q install --user --upgrade pynvim echo "Install neovim module for Python 2." -CC=cc pip2 -q install --user --upgrade neovim +CC=cc python2 -m pip -q install --user --upgrade pynvim echo "Install neovim RubyGem." gem install --no-document --version ">= 0.8.0" neovim