From 566b5b45efb07b501bde73146cfed570a64492b8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 30 Sep 2018 11:10:19 +0100 Subject: [PATCH] os/mac/diagnostic: don't complain about Xcode version on Azure. It hasn't been updated yet and we want to be able to update the Xcode versions for everyone else. --- Library/Homebrew/extend/os/mac/diagnostic.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index b3dfa3beca..6223d23b6d 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -70,11 +70,11 @@ module Homebrew def check_xcode_up_to_date return unless MacOS::Xcode.outdated? - # Travis CI images are going to end up outdated so don't complain when + # CI images are going to end up outdated so don't complain when # `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew - # repository. This only needs to support whatever CI provider + # repository. This only needs to support whatever CI providers # Homebrew/brew is currently using. - return if ENV["HOMEBREW_TRAVIS_CI"] + return if ENV["HOMEBREW_TRAVIS_CI"] || ENV["HOMEBREW_AZURE_PIPELINES"] message = <<~EOS Your Xcode (#{MacOS::Xcode.version}) is outdated. @@ -97,11 +97,11 @@ module Homebrew def check_clt_up_to_date return unless MacOS::CLT.outdated? - # Travis CI images are going to end up outdated so don't complain when + # CI images are going to end up outdated so don't complain when # `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew - # repository. This only needs to support whatever CI provider + # repository. This only needs to support whatever CI providers # Homebrew/brew is currently using. - return if ENV["HOMEBREW_TRAVIS_CI"] + return if ENV["HOMEBREW_TRAVIS_CI"] || ENV["HOMEBREW_AZURE_PIPELINES"] <<~EOS A newer Command Line Tools release is available.