aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-02-19 16:11:21 +0000
committerGitHub2017-02-19 16:11:21 +0000
commit7f6e43345556c023fea48cd683cfe08b8c27e56c (patch)
tree30080a697f759a55cd98cc8a2e4c3b27616fffb5 /Library
parentcd2dd2a5444bc6ba67f20fcc0d0d113d8005fecb (diff)
parent0c4eb95b9f42b6bf7057254cddd7d7fddde8cd97 (diff)
downloadbrew-7f6e43345556c023fea48cd683cfe08b8c27e56c.tar.bz2
Merge pull request #2048 from Homebrew/revert-1983-dani_ci_diagnostic
Revert "Skip Xcode outdated check on CircleCI"
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index 3e0c1d04d..c7dabde2b 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -53,8 +53,11 @@ module Homebrew
return unless MacOS::Xcode.installed?
return unless MacOS::Xcode.outdated?
- # CI images are going to end up outdated so don't complain.
- return if ENV["TRAVIS"] || ENV["CIRCLECI"]
+ # Travis CI images are going to end up outdated so don't complain when
+ # `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
Your Xcode (#{MacOS::Xcode.version}) is outdated.