diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index c7dabde2b92e25521cda6e169a83a0be1e5759d8..fb6b30836eff1e26b127fd64424271e67b9ea389 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}