Skip to content

Commit

Permalink
test-bot: don't run doctor when outside /usr/local.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jul 14, 2016
1 parent f1f775b commit 4f02fb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Library/Homebrew/dev-cmd/test-bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,9 @@ def satisfied_requirements?(formula, spec, dependency = nil)
def setup
@category = __method__
return if ARGV.include? "--skip-setup"
test "brew", "doctor" if !ENV["TRAVIS"] && ENV["HOMEBREW_RUBY"] != "1.8.7"
if !ENV["TRAVIS"] && ENV["HOMEBREW_RUBY"] != "1.8.7" &&
HOMEBREW_PREFIX.to_s == "/usr/local"
test "brew", "doctor"
test "brew", "--env"
test "brew", "config"
end
Expand Down

0 comments on commit 4f02fb8

Please sign in to comment.