diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index db054ea4c7a1597863c5210fd5419d7e056df144..157e7982bf596e5fd5f72b8bf4fe8a72714fc557 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).