aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-11-19 13:18:21 +0000
committerMike McQuaid2015-11-19 13:18:21 +0000
commit1a8f6388a683ba51f6487d4d209c9ce57fc353a6 (patch)
treea0ea26051757c378a75d0bb0c80d09da9f4740f9 /Library
parent6c5419fc5ba763640a7dc1695d989b6302909e5e (diff)
downloadbrew-1a8f6388a683ba51f6487d4d209c9ce57fc353a6.tar.bz2
test-bot: don't cleanup before on Travis.
As we may be using a Ruby 1.8 that this will delete.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index fb51d07eb..886e908c8 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -647,7 +647,7 @@ module Homebrew
git "rebase", "--abort"
git "reset", "--hard"
git "checkout", "-f", "master"
- git "clean", "-ffdx"
+ git "clean", "-ffdx" unless ENV["TRAVIS"]
pr_locks = "#{HOMEBREW_REPOSITORY}/.git/refs/remotes/*/pr/*/*.lock"
Dir.glob(pr_locks) { |lock| FileUtils.rm_rf lock }
end