You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
829B

  1. #!/usr/bin/env bash
  2. set -e
  3. set -o pipefail
  4. if [[ "${CI_TARGET}" == lint ]]; then
  5. python3 -m pip -q install --user --upgrade flake8
  6. exit
  7. fi
  8. if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
  9. export PATH="/usr/local/opt/ccache/libexec:$PATH"
  10. fi
  11. # Use default CC to avoid compilation problems when installing Python modules.
  12. echo "Install neovim module for Python 3."
  13. CC=cc python3 -m pip -q install --user --upgrade pynvim
  14. echo "Install neovim module for Python 2."
  15. CC=cc python2 -m pip -q install --user --upgrade pynvim
  16. echo "Install neovim RubyGem."
  17. gem install --no-document --version ">= 0.8.0" neovim
  18. echo "Install neovim npm package"
  19. source ~/.nvm/nvm.sh
  20. nvm use 10
  21. npm install -g neovim
  22. npm link neovim
  23. sudo cpanm -n Neovim::Ext || cat "$HOME/.cpanm/build.log"
  24. perl -W -e 'use Neovim::Ext; print $Neovim::Ext::VERSION'