Merge pull request #2048 from Homebrew/revert-1983-dani_ci_diagnostic
Revert "Skip Xcode outdated check on CircleCI"
This commit is contained in:
commit
7f6e433455
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user