Skip to content
Snippets Groups Projects
Commit 025e53c3 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

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.
parent 1f3351f0
No related branches found
No related tags found
No related merge requests found
......@@ -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).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment