Skip to content

Commit c553aa3

Browse files
authored
add codecov
1 parent 7ada0b7 commit c553aa3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spec/spec_helper.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
require 'simplecov'
2+
SimpleCov.start
3+
if ENV['CI'] == 'true'
4+
require 'codecov'
5+
SimpleCov.formatter = SimpleCov::Formatter::Codecov
6+
end
7+
18
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
29

310
require 'rubygems'

0 commit comments

Comments
 (0)