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