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
- valgrind
- xclip
homebrew:
update: true
packages:
- ccache
- ninja
branches:
only:

View File

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

View File

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