diff options
author | James McCoy <jamessan@jamessan.com> | 2020-11-23 09:27:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-23 09:27:35 -0500 |
commit | fb52790d1c16afdd12e4e484ee1dbce8d2a161b9 (patch) | |
tree | d81193fe109beb94bbbbc38cd9decaee5c831389 /ci | |
parent | b155e6b54c6087fac57ea4278a3431ced7bfc7f6 (diff) | |
parent | 80d1c4da5ffb652474e398f2d4ce6fd1d66a878e (diff) | |
download | rneovim-fb52790d1c16afdd12e4e484ee1dbce8d2a161b9.tar.gz rneovim-fb52790d1c16afdd12e4e484ee1dbce8d2a161b9.tar.bz2 rneovim-fb52790d1c16afdd12e4e484ee1dbce8d2a161b9.zip |
Merge pull request #13358 from jamessan/ubuntu-20.04-gha
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/install.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/install.sh b/ci/install.sh index ebbd820d9f..1edc1138ee 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -15,8 +15,10 @@ fi # Use default CC to avoid compilation problems when installing Python modules. echo "Install neovim module for Python 3." CC=cc python3 -m pip -q install --user --upgrade pynvim -echo "Install neovim module for Python 2." -CC=cc python2 -m pip -q install --user --upgrade pynvim +if python2 -m pip -c True 2>&1; then + echo "Install neovim module for Python 2." + CC=cc python2 -m pip -q install --user --upgrade pynvim +fi echo "Install neovim RubyGem." gem install --no-document --bindir "$HOME/.local/bin" --user-install --pre neovim |