From f370e9a0affa6663bb4d607a42d2e22f9c474e0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 1 Jan 2019 10:10:59 +0100 Subject: spec : reenable coverage report generation --- spec/spec_helper.rb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 0e811f2..bb42058 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,11 +1,6 @@ #! /usr/bin/env ruby begin - require 'coveralls' - Coveralls.wear! -rescue LoadError -end -begin require 'simplecov' SimpleCov.start do add_filter 'spec' @@ -13,6 +8,15 @@ begin rescue LoadError end +begin + require 'coveralls' + SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter + ] +rescue LoadError +end + require 'yaml' require 'zorglub' -- cgit v1.1-2-g2b99