test-bot: don't cleanup before on Travis.
As we may be using a Ruby 1.8 that this will delete.
This commit is contained in:
parent
6c5419fc5b
commit
1a8f6388a6
@ -647,7 +647,7 @@ module Homebrew
|
|||||||
git "rebase", "--abort"
|
git "rebase", "--abort"
|
||||||
git "reset", "--hard"
|
git "reset", "--hard"
|
||||||
git "checkout", "-f", "master"
|
git "checkout", "-f", "master"
|
||||||
git "clean", "-ffdx"
|
git "clean", "-ffdx" unless ENV["TRAVIS"]
|
||||||
pr_locks = "#{HOMEBREW_REPOSITORY}/.git/refs/remotes/*/pr/*/*.lock"
|
pr_locks = "#{HOMEBREW_REPOSITORY}/.git/refs/remotes/*/pr/*/*.lock"
|
||||||
Dir.glob(pr_locks) { |lock| FileUtils.rm_rf lock }
|
Dir.glob(pr_locks) { |lock| FileUtils.rm_rf lock }
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user