spec/spec_helper.rb in hashdiff-0.3.4 vs spec/spec_helper.rb in hashdiff-0.3.5
- old
+ new
@@ -1,4 +1,11 @@
+require 'simplecov'
+SimpleCov.start
+if ENV['CI'] == 'true'
+ require 'codecov'
+ SimpleCov.formatter = SimpleCov::Formatter::Codecov
+end
+
$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
require 'rubygems'
require 'rspec'
require 'rspec/autorun'