Skip to content

Commit

Permalink
Fix:
Browse files Browse the repository at this point in the history
This usage of the Code Climate Test Reporter is now deprecated. Since
version
      1.0, we now require you to run `SimpleCov` in your test/spec
helper, and then
      run the provided `codeclimate-test-reporter` binary separately to
report your
      results to Code Climate.
      More information here:
https://github.com/codeclimate/ruby-test-reporter/blob/master/README.md
https://travis-ci.org/phstc/shoryuken/jobs/180890771
  • Loading branch information
Pablo Cantero committed Dec 3, 2016
1 parent 2227cf7 commit 267d818
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -5,5 +5,6 @@ gemspec

group :test do
gem 'codeclimate-test-reporter', require: nil
gem 'simplecov'
gem 'multi_xml'
end
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Expand Up @@ -10,8 +10,8 @@
Dotenv.load

if ENV['CODECLIMATE_REPO_TOKEN']
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
require 'simplecov'
SimpleCov.start
end

config_file = File.join(File.expand_path('../..', __FILE__), 'spec', 'shoryuken.yml')
Expand Down

0 comments on commit 267d818

Please sign in to comment.