Merge pull request #9398 from janlazo/mac-brew-addon

This commit is contained in:
Justin M. Keyes
2018-12-27 19:27:36 +01:00
committed by GitHub
3 changed files with 8 additions and 9 deletions

View File

@@ -117,6 +117,11 @@ addons:
- unzip - unzip
- valgrind - valgrind
- xclip - xclip
homebrew:
update: true
packages:
- ccache
- ninja
branches: branches:
only: only:

View File

@@ -7,10 +7,6 @@ if [[ "${CI_TARGET}" == lint ]]; then
exit exit
fi fi
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
>/dev/null brew update
fi
echo 'python info:' echo 'python info:'
( (
2>&1 python --version || true 2>&1 python --version || true

View File

@@ -8,8 +8,6 @@ if [[ "${CI_TARGET}" == lint ]]; then
fi fi
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
brew install ccache
brew install ninja
export PATH="/usr/local/opt/ccache/libexec:$PATH" export PATH="/usr/local/opt/ccache/libexec:$PATH"
fi fi
@@ -24,10 +22,10 @@ if ! [ "${TRAVIS_OS_NAME}" = osx ] ; then
# Use default CC to avoid compilation problems when installing Python modules. # Use default CC to avoid compilation problems when installing Python modules.
echo "Install neovim module for Python 2." echo "Install neovim module for Python 2."
CC=cc python2.7 -m pip -q install --user --upgrade neovim CC=cc python2.7 -m pip -q install --user --upgrade neovim
fi
echo "Install neovim RubyGem." echo "Install neovim RubyGem."
gem install --no-document --version ">= 0.2.0" neovim gem install --no-document --version ">= 0.8.0" neovim
fi
echo "Install neovim npm package" echo "Install neovim npm package"
npm install -g neovim npm install -g neovim