spec/coverage_helper.rb in lazier-3.3.3 vs spec/coverage_helper.rb in lazier-3.3.5
- old
+ new
@@ -6,15 +6,15 @@
require "pathname"
require "simplecov"
require "coveralls"
-Coveralls.wear!
+Coveralls.wear! if ENV["CI"] || ENV["JENKINS_URL"]
SimpleCov.start do
root = Pathname.new(File.dirname(__FILE__)) + ".."
add_filter do |src_file|
path = Pathname.new(src_file.filename).relative_path_from(root).to_s
path !~ /^lib/
end
-end
\ No newline at end of file
+end