aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac/diagnostic.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/extend/os/mac/diagnostic.rb')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index c7dabde2b..fb6b30836 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -81,6 +81,12 @@ module Homebrew
return unless MacOS::CLT.installed?
return unless MacOS::CLT.outdated?
+ # 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"]
+
<<-EOS.undent
A newer Command Line Tools release is available.
#{MacOS::CLT.update_instructions}