aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorShaun Jackman2015-01-01 09:54:19 -0800
committerMike McQuaid2015-01-02 09:50:28 +0000
commit726e9fabfc814a46c54111fa4acacdc415effc3e (patch)
tree7349382a33c4db0bb2196a6cc6cfd843cf5000c3 /Library/Homebrew/cmd
parent4a51c24220f0f260a701421be2c5662ea0b84adc (diff)
downloadhomebrew-726e9fabfc814a46c54111fa4acacdc415effc3e.tar.bz2
test-bot: do not --cleanup outside CI.
Closes #35424. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index 9f8eb947a..9ab166f51 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -602,7 +602,8 @@ module Homebrew
ENV['HOMEBREW_NO_EMOJI'] = '1'
if ARGV.include? '--ci-master' or ARGV.include? '--ci-pr' \
or ARGV.include? '--ci-testing'
- ARGV << '--cleanup' << '--junit' << '--local'
+ ARGV << "--cleanup" if ENV["JENKINS_HOME"] || ENV["TRAVIS_COMMIT"]
+ ARGV << "--junit" << "--local"
end
if ARGV.include? '--ci-master'
ARGV << '--no-bottle' << '--email'