.simplecov in rultor-0.4.1 vs .simplecov in rultor-0.4.2
- old
+ new
@@ -28,14 +28,24 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
require 'coveralls'
-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+if Gem.win_platform? then
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter
+ ]
+ SimpleCov.start do
+ add_filter "/test/"
+ add_filter "/features/"
+ end
+else
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
-]
-SimpleCov.start do
- add_filter "/test/"
- add_filter "/features/"
- minimum_coverage 100
+ ]
+ SimpleCov.start do
+ add_filter "/test/"
+ add_filter "/features/"
+ minimum_coverage 100
+ end
end