ci: use homebrew addon to simplify shell scripts

This commit is contained in:
Jan Edmund Lazo 2018-12-26 11:55:26 -05:00
parent 9ac1e2db79
commit c926ba1dc4
3 changed files with 5 additions and 6 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