diff options
| author | Mike McQuaid | 2016-11-26 13:09:59 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2016-11-26 13:09:59 +0000 |
| commit | 025e53c321e06f1cf42139324124b8d3f31163f4 (patch) | |
| tree | b074d20b3d5b1046b5ab15df0519837aa44234bd /Library | |
| parent | 1f3351f0cadf120a86c6fdb6d397fe089c00b21b (diff) | |
| download | brew-025e53c321e06f1cf42139324124b8d3f31163f4.tar.bz2 | |
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.
Diffstat (limited to 'Library')
| -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). |
