From 2be521f565e35eee06736148581c9643d4c840a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Fri, 1 Nov 2019 03:00:00 +0100 Subject: [PATCH] Add Codecov MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable --- Gemfile | 2 +- spec/spec_helper.rb | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index f53efdcbd..44a8cab95 100644 --- a/Gemfile +++ b/Gemfile @@ -42,7 +42,7 @@ group :test do gem "aruba", "~> 0.14", require: false gem "notiffany", ">= 0.0.6", require: false gem "rspec", ">= 3.0.0", require: false - gem "simplecov", "~> 0.17", require: false + gem "codecov", require: false end # Needed for Travis diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 8e54bbf4d..42abbb161 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -21,6 +21,11 @@ require "fileutils" require "simplecov" +SimpleCov.start + +require "codecov" +SimpleCov.formatter = SimpleCov::Formatter::Codecov + SimpleCov.start do add_filter "/spec" end