diff options
author | Daniel Hahler <git@thequod.de> | 2019-06-19 20:28:37 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-06-19 20:28:37 +0200 |
commit | 487eaf8d456de17449ade6826ca0d13a64db576d (patch) | |
tree | 83bd12bd72750afd78f9168a6484d549b43e9ca8 | |
parent | 352d5a971344e2402aaa8704b802fa7dfaaa3050 (diff) | |
download | rneovim-487eaf8d456de17449ade6826ca0d13a64db576d.tar.gz rneovim-487eaf8d456de17449ade6826ca0d13a64db576d.tar.bz2 rneovim-487eaf8d456de17449ade6826ca0d13a64db576d.zip |
CI: use -m to invoke pip #10275
Also install "pynvim" instead of "neovim".
Ref: https://github.com/neovim/neovim/pull/10228#discussion_r295266859
-rwxr-xr-x | ci/before_install.sh | 4 | ||||
-rwxr-xr-x | 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 |