aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac/diagnostic.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/extend/os/mac/diagnostic.rb')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index f0b923f21..f86155f2e 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -57,7 +57,7 @@ module Homebrew
# `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["HOMEBREW_TRAVIS"]
+ return if ENV["TRAVIS"]
message = <<~EOS
Your Xcode (#{MacOS::Xcode.version}) is outdated.
@@ -84,7 +84,7 @@ module Homebrew
# `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["HOMEBREW_TRAVIS"]
+ return if ENV["TRAVIS"]
<<~EOS
A newer Command Line Tools release is available.