aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index db054ea4c..157e7982b 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -69,6 +69,9 @@ module Homebrew
return unless MacOS::Xcode.installed?
return unless MacOS::Xcode.outdated?
+ # Travis CI images are going to end up outdated so don't complain.
+ return if ENV["TRAVIS"]
+
message = <<-EOS.undent
Your Xcode (#{MacOS::Xcode.version}) is outdated.
Please update to Xcode #{MacOS::Xcode.latest_version} (or delete it).