diff options
| author | Mike McQuaid | 2016-11-26 14:03:25 +0000 |
|---|---|---|
| committer | GitHub | 2016-11-26 14:03:25 +0000 |
| commit | 118f0520578ba99e8b48d0c988b126d03d4ee444 (patch) | |
| tree | 54700d304c53acc18b643c86ac1397b4f46e102e | |
| parent | 578fff78724a23d11f9eaf165ca58f3544f929ab (diff) | |
| parent | 025e53c321e06f1cf42139324124b8d3f31163f4 (diff) | |
| download | brew-118f0520578ba99e8b48d0c988b126d03d4ee444.tar.bz2 | |
Merge pull request #1576 from MikeMcQuaid/diagnostic-allow-outdated-travis
diagnostic: silence outdated Travis Xcode warning.
| -rw-r--r-- | Library/Homebrew/extend/os/mac/diagnostic.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index db054ea4c..157e7982b 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -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). |
