提交 34df0056 编写于 作者: O Olli-Pekka Heinisuo

try brew doctor

上级 e1b13aae
......@@ -670,8 +670,6 @@ before_install: |
echo $ENABLE_HEADLESS > headless.enabled
if [ -n "$IS_OSX" ]; then
export HOMEBREW_FORCE_VENDOR_RUBY=1
brew upgrade
TAPS="$(brew --repository)/Library/Taps"
if [ -e "$TAPS/caskroom/homebrew-cask" -a -e "$TAPS/homebrew/homebrew-cask" ]; then
rm -rf "$TAPS/caskroom/homebrew-cask"
......
......@@ -88,6 +88,7 @@ function pre_build {
echo "Running for OSX"
local CACHE_STAGE; (echo "$TRAVIS_BUILD_STAGE_NAME" | grep -qiF "final") || CACHE_STAGE=1
brew doctor
#after the cache stage, all bottles and Homebrew metadata should be already cached locally
if [ -n "$CACHE_STAGE" ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册