Sha256: af3c46b7380e2f022ba18d9ae67ef112f31d247b1c4ff92cec3797a385789b73
Contents?: true
Size: 653 Bytes
Versions: 13
Compression:
Stored size: 653 Bytes
Contents
#!/usr/bin/env ruby require 'pathname' require 'coveralls' require 'simplecov-teamcity-summary' SimpleCov.start do track_files('lib/**/*.rb') add_filter do |file| relative_path = Pathname.new(file.filename) .relative_path_from(Pathname.new(SimpleCov.root)) relative_path.to_s =~ %r{^spec/} end coverage_dir('build/coverage') format = [::SimpleCov::Formatter::HTMLFormatter] format << Coveralls::SimpleCov::Formatter if Coveralls.will_run? format << SimpleCov::Formatter::TeamcitySummaryFormatter if ENV['TEAMCITY_PROJECT_NAME'] formatter(::SimpleCov::Formatter::MultiFormatter.new(format)) end
Version data entries
13 entries across 13 versions & 1 rubygems