2015-07-05 00:52:36 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -o pipefail
|
|
|
|
|
2017-03-31 07:39:18 -07:00
|
|
|
if [[ "${CI_TARGET}" == lint ]]; then
|
2019-07-28 20:04:12 -07:00
|
|
|
python -m pip -q install --user --upgrade flake8
|
2015-07-05 00:52:36 -07:00
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
|
2018-05-01 04:02:11 -07:00
|
|
|
export PATH="/usr/local/opt/ccache/libexec:$PATH"
|
2015-07-05 00:52:36 -07:00
|
|
|
fi
|
|
|
|
|
2019-06-18 11:13:47 -07:00
|
|
|
# Use default CC to avoid compilation problems when installing Python modules.
|
2015-09-22 05:36:15 -07:00
|
|
|
echo "Install neovim module for Python 3."
|
2019-09-14 14:29:31 -07:00
|
|
|
CC=cc python3 -m pip -q install --upgrade pynvim
|
2019-06-18 11:13:47 -07:00
|
|
|
echo "Install neovim module for Python 2."
|
2019-09-14 14:29:31 -07:00
|
|
|
CC=cc python2 -m pip -q install --upgrade pynvim
|
2017-11-28 23:50:11 -07:00
|
|
|
|
2018-12-27 07:44:52 -07:00
|
|
|
echo "Install neovim RubyGem."
|
|
|
|
gem install --no-document --version ">= 0.8.0" neovim
|
|
|
|
|
2018-01-07 16:37:31 -07:00
|
|
|
echo "Install neovim npm package"
|
|
|
|
npm install -g neovim
|
2018-06-04 16:42:26 -07:00
|
|
|
npm link neovim
|