Sha256: aace29f55695832f7d970913984dbfa3670fe8405fcacd1003193bd2fa91fbf1

Contents?: true

Size: 434 Bytes

Versions: 9

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true
begin
  unless RUBY_VERSION.start_with?('1.8')
    require 'simplecov'

    if ENV['CIRCLE_ARTIFACTS']
      coverage_directory = File.join(ENV['CIRCLE_ARTIFACTS'], 'coverage')

      SimpleCov.coverage_dir(coverage_directory)
    end

    SimpleCov.start do
      add_filter '/config/'
      add_filter '/spec/'
      add_filter '/test/'
      add_filter '/features/'
    end
  end
rescue LoadError
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rspeckled-0.0.30 lib/rspeckled/plugins/simple_cov.rb
rspeckled-0.0.29 lib/rspeckled/plugins/simple_cov.rb
rspeckled-0.0.28 lib/rspeckled/plugins/simple_cov.rb
rspeckled-0.0.27 lib/rspeckled/plugins/simple_cov.rb
rspeckled-0.0.26 lib/rspeckled/plugins/simple_cov.rb
rspeckled-0.0.25 lib/rspeckled/plugins/simple_cov.rb
rspeckled-0.0.24 lib/rspeckled/plugins/simple_cov.rb
rspeckled-0.0.23 lib/rspeckled/plugins/simple_cov.rb
rspeckled-0.0.22 lib/rspeckled/plugins/simple_cov.rb