aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2017-04-02 17:24:33 +0100
committerMike McQuaid2017-04-02 17:24:33 +0100
commita084776f95d6bb94985cc6f74757b40e4e4ba57b (patch)
treee71a36bbdea70c79aa9e5925072dd29eb1e10a46 /Library/Homebrew
parentc5bac087b34e90933acca1ee0371dd947cfa97a1 (diff)
downloadbrew-a084776f95d6bb94985cc6f74757b40e4e4ba57b.tar.bz2
diagnostic: also ignore outdated CLT on Travis CI.
Diffstat (limited to 'Library/Homebrew')
-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}