diagnostic: detail TRAVIS opt-out reasoning.

This commit is contained in:
Mike McQuaid 2017-02-17 21:53:30 +00:00 committed by GitHub
parent 6ac0de1b40
commit 3678d60a28

View File

@ -53,7 +53,10 @@ module Homebrew
return unless MacOS::Xcode.installed? return unless MacOS::Xcode.installed?
return unless MacOS::Xcode.outdated? return unless MacOS::Xcode.outdated?
# Travis CI images are going to end up outdated so don't complain. # 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 provided
# Homebrew/brew is currently using.
return if ENV["TRAVIS"] return if ENV["TRAVIS"]
message = <<-EOS.undent message = <<-EOS.undent