diff --git a/Gemfile b/Gemfile index d106303..b8be183 100644 --- a/Gemfile +++ b/Gemfile @@ -10,4 +10,5 @@ group :test do gem 'rubocop' gem 'coveralls', require: false gem 'simplecov', require: false + gem "codeclimate-test-reporter" end diff --git a/Gemfile.lock b/Gemfile.lock index 0e7c878..1287b76 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -5,6 +5,8 @@ GEM ast (2.0.0) astrolabe (1.3.0) parser (>= 2.2.0.pre.3, < 3.0) + codeclimate-test-reporter (0.4.7) + simplecov (>= 0.7.1, < 1.0.0) colorize (0.7.5) coveralls (0.7.12) multi_json (~> 1.10) @@ -94,6 +96,7 @@ PLATFORMS ruby DEPENDENCIES + codeclimate-test-reporter colorize coveralls github_api diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b29eea1..bcb64c3 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -15,11 +15,14 @@ # See the License for the specific language governing permissions and # limitations under the License. # -require 'coveralls' +require 'codeclimate-test-reporter' require 'simplecov' +require 'coveralls' + SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + Coveralls::SimpleCov::Formatter, SimpleCov::Formatter::HTMLFormatter, - Coveralls::SimpleCov::Formatter + CodeClimate::TestReporter::Formatter ] SimpleCov.start