File: coverage.rb

package info (click to toggle)
ruby-gherkin 4.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 332 kB
  • sloc: ruby: 3,320; makefile: 52
file content (10 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
require 'simplecov'
formatters = [ SimpleCov::Formatter::HTMLFormatter ]

if ENV['TRAVIS']
  require 'coveralls'
  formatters << Coveralls::SimpleCov::Formatter
end

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[*formatters]
SimpleCov.start