CI: use -m to invoke pip #10275

Also install "pynvim" instead of "neovim".

Ref: https://github.com/neovim/neovim/pull/10228#discussion_r295266859
This commit is contained in:
Daniel Hahler 2019-06-19 20:28:37 +02:00 committed by Justin M. Keyes
parent 352d5a9713
commit 487eaf8d45
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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