Sha256: c8060868f705867044664879e7c4706cef66a185468bca4e5c1d646933a14c25

Contents?: true

Size: 389 Bytes

Versions: 12

Compression:

Stored size: 389 Bytes

Contents

require 'circleci/coverage_reporter'

namespace :circleci do
  desc 'Report test coverage'
  task :report_coverage do
    abort unless ENV['CIRCLECI']

    CircleCI::CoverageReporter.configure do |config|
      config.circleci_token = ENV['COVERAGE_REPORTER_CIRCLECI_TOKEN']
      config.vcs_token = ENV['COVERAGE_REPORTER_VCS_TOKEN']
    end

    CircleCI::CoverageReporter.run
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
circleci-coverage_reporter-0.8.0 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.7.0 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.6.0 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.5.0 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.4.0 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.3.1 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.3.0 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.2.0 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.1.3 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.1.2 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.1.1 lib/circleci/coverage_reporter/rake_task.rb
circleci-coverage_reporter-0.1.0 lib/circleci/coverage_reporter/rake_task.rb