1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00

Only create coverage report if COVERAGE env variable is set.

This commit is contained in:
Tobias Svensson 2013-02-08 12:54:32 +00:00
parent 6af12d204c
commit 3454176a04

View file

@ -1,5 +1,7 @@
require 'simplecov'
SimpleCov.start { add_filter "/test/" }
if ENV["COVERAGE"]
require 'simplecov'
SimpleCov.start { add_filter "/test/" }
end
require 'minitest/autorun'
require 'mocha/setup'