Skip to content
Snippets Groups Projects
Commit c01e6b81 authored by Shaun Jackman's avatar Shaun Jackman Committed by Mike McQuaid
Browse files

test-bot: do not --cleanup outside CI.


Closes Homebrew/homebrew#35424.

Signed-off-by: default avatarMike McQuaid <mike@mikemcquaid.com>
parent e87b377a
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment