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
|
2015-07-05 00:52:36 -07:00
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
|
|
|
|
brew install gettext
|
2016-07-17 02:40:28 -07:00
|
|
|
brew reinstall -s libtool
|
2015-07-05 00:52:36 -07:00
|
|
|
fi
|
|
|
|
|
2016-07-03 01:35:16 -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 and coveralls for Python 2."
|
2016-07-03 01:35:16 -07:00
|
|
|
CC=cc pip2.7 -q install --user --upgrade neovim cpp-coveralls
|
2015-09-22 05:36:15 -07:00
|
|
|
|
|
|
|
echo "Install neovim module for Python 3."
|
2016-12-27 15:44:36 -07:00
|
|
|
CC=cc pip3 -q install --user --upgrade neovim
|
2016-07-02 21:51:43 -07:00
|
|
|
|
|
|
|
echo "Install neovim RubyGem."
|
|
|
|
gem install --no-document --version ">= 0.2.0" neovim
|