test-bot: don't run doctor when outside /usr/local.
This commit is contained in:
parent
f1f775b9aa
commit
4f02fb8ce7
@ -417,7 +417,9 @@ module Homebrew
|
|||||||
def setup
|
def setup
|
||||||
@category = __method__
|
@category = __method__
|
||||||
return if ARGV.include? "--skip-setup"
|
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", "--env"
|
||||||
test "brew", "config"
|
test "brew", "config"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user