diagnostic: silence outdated Travis Xcode warning.
This doesn't add any value and stops us from testing `brew doctor` and others from running `brew doctor` on Travis CI.
This commit is contained in:
parent
1f3351f0ca
commit
025e53c321
@ -69,6 +69,9 @@ 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.
|
||||||
|
return if ENV["TRAVIS"]
|
||||||
|
|
||||||
message = <<-EOS.undent
|
message = <<-EOS.undent
|
||||||
Your Xcode (#{MacOS::Xcode.version}) is outdated.
|
Your Xcode (#{MacOS::Xcode.version}) is outdated.
|
||||||
Please update to Xcode #{MacOS::Xcode.latest_version} (or delete it).
|
Please update to Xcode #{MacOS::Xcode.latest_version} (or delete it).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user