test-bot: do not --cleanup outside CI.
Closes Homebrew/homebrew#35424. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
e87b377add
commit
c01e6b81d3
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user