Merge pull request #2048 from Homebrew/revert-1983-dani_ci_diagnostic

Revert "Skip Xcode outdated check on CircleCI"
This commit is contained in:
Mike McQuaid 2017-02-19 16:11:21 +00:00 committed by GitHub
commit 7f6e433455

View File

@ -53,8 +53,11 @@ module Homebrew
return unless MacOS::Xcode.installed? return unless MacOS::Xcode.installed?
return unless MacOS::Xcode.outdated? return unless MacOS::Xcode.outdated?
# CI images are going to end up outdated so don't complain. # Travis CI images are going to end up outdated so don't complain when
return if ENV["TRAVIS"] || ENV["CIRCLECI"] # `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew
# repository. This only needs to support whatever CI provider
# Homebrew/brew is currently using.
return if ENV["TRAVIS"]
message = <<-EOS.undent message = <<-EOS.undent
Your Xcode (#{MacOS::Xcode.version}) is outdated. Your Xcode (#{MacOS::Xcode.version}) is outdated.