test-bot: don't untap during cleanup_before
This commit is contained in:
parent
75f1e49027
commit
c3c233dd80
@ -662,7 +662,6 @@ module Homebrew
|
|||||||
safe_system "git", "checkout", "-f", "master"
|
safe_system "git", "checkout", "-f", "master"
|
||||||
# This will uninstall all formulae, as long as
|
# This will uninstall all formulae, as long as
|
||||||
# HOMEBREW_REPOSITORY == HOMEBREW_PREFIX, which is true on the test bots
|
# HOMEBREW_REPOSITORY == HOMEBREW_PREFIX, which is true on the test bots
|
||||||
Tap.names.each { |s| safe_system "brew", "untap", s if s != "homebrew/core" }
|
|
||||||
safe_system "git", "clean", "-ffdx", "--exclude=/Library/Taps/" unless ENV["HOMEBREW_RUBY"] == "1.8.7"
|
safe_system "git", "clean", "-ffdx", "--exclude=/Library/Taps/" unless ENV["HOMEBREW_RUBY"] == "1.8.7"
|
||||||
end
|
end
|
||||||
pr_locks = "#{@repository}/.git/refs/remotes/*/pr/*/*.lock"
|
pr_locks = "#{@repository}/.git/refs/remotes/*/pr/*/*.lock"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user