Module: RubyCI::SimpleCov::PrependSc

Included in:
RubyCI::SimpleCov
Defined in:
lib/ruby_ci/simple_cov.rb

Instance Method Summary collapse

Instance Method Details

#start(*args, &block) ⇒ Object



26
27
28
29
30
31
32
33
34
35
36
# File 'lib/ruby_ci/simple_cov.rb', line 26

def start(*args, &block)
  add_filter "tmp"
  merge_timeout 3600
  command_name "RSpec_#{ENV["TEST_ENV_NUMBER".freeze].to_i}"

  if ENV["NO_COVERAGE"]
    use_merging false
    return
  end
  super
end