install.sh 565 B

123456789101112131415161718192021
  1. #!/usr/bin/env bash
  2. set -e
  3. set -o pipefail
  4. # Use default CC to avoid compilation problems when installing Python modules.
  5. echo "Install neovim module for Python."
  6. CC=cc python -m pip -q install --user --upgrade pynvim
  7. echo "Install neovim RubyGem."
  8. gem install --no-document --bindir "$HOME/.local/bin" --user-install --pre neovim
  9. echo "Install neovim npm package"
  10. npm install -g neovim
  11. npm link neovim
  12. if [[ $CI_OS_NAME != osx ]]; then
  13. sudo cpanm -n Neovim::Ext || cat "$HOME/.cpanm/build.log"
  14. perl -W -e 'use Neovim::Ext; print $Neovim::Ext::VERSION'
  15. fi