Skip to content
Snippets Groups Projects
Commit 118f0520 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #1576 from MikeMcQuaid/diagnostic-allow-outdated-travis

diagnostic: silence outdated Travis Xcode warning.
parents 578fff78 025e53c3
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,9 @@ module Homebrew ...@@ -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).
......
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