mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
diagnostic: also ignore outdated CLT on Travis CI.
This commit is contained in:
parent
c5bac087b3
commit
a084776f95
@ -81,6 +81,12 @@ module Homebrew
|
||||
return unless MacOS::CLT.installed?
|
||||
return unless MacOS::CLT.outdated?
|
||||
|
||||
# Travis 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
|
||||
# Homebrew/brew is currently using.
|
||||
return if ENV["TRAVIS"]
|
||||
|
||||
<<-EOS.undent
|
||||
A newer Command Line Tools release is available.
|
||||
#{MacOS::CLT.update_instructions}
|
||||
|
Loading…
x
Reference in New Issue
Block a user