diff --git a/Gemfile b/Gemfile index b261a56..ca64e38 100644 --- a/Gemfile +++ b/Gemfile @@ -44,9 +44,9 @@ group :test do gem "nyan-cat-formatter", require: false # test coverage - gem "simplecov", "0.12.0", require: false - gem "simplecov-rcov", "0.2.3", require: false - gem "codeclimate-test-reporter", require: false + gem "simplecov", "0.12.0", require: false + gem "simplecov-rcov", "0.2.3", require: false + gem "codeclimate-test-reporter", "~> 1.0.0", require: false # test helpers gem "fixture_builder", "0.5.0.pre.RC1" diff --git a/Gemfile.lock b/Gemfile.lock index 4743257..5a2bcf3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -59,8 +59,8 @@ GEM ast (2.3.0) builder (3.2.2) byebug (9.0.6) - codeclimate-test-reporter (0.6.0) - simplecov (>= 0.7.1, < 1.0.0) + codeclimate-test-reporter (1.0.3) + simplecov coderay (1.1.1) concurrent-ruby (1.0.2) crack (0.4.3) @@ -289,7 +289,7 @@ PLATFORMS ruby DEPENDENCIES - codeclimate-test-reporter + codeclimate-test-reporter (~> 1.0.0) diaspora_federation! diaspora_federation-rails! diaspora_federation-test! diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 431d8f3..32a75b2 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -10,9 +10,6 @@ unless ENV["NO_COVERAGE"] == "true" add_filter "spec" add_filter "test" end - - require "codeclimate-test-reporter" - CodeClimate::TestReporter.start end ENV["RAILS_ENV"] ||= "test" diff --git a/test/scripts/travis.sh b/test/scripts/travis.sh index 7c28996..c08f7e7 100755 --- a/test/scripts/travis.sh +++ b/test/scripts/travis.sh @@ -9,4 +9,5 @@ if [[ ${TRAVIS_RUBY_VERSION} == "2.1" ]]; then else # ruby >= 2.2 bundle exec rake --trace + bundle exec codeclimate-test-reporter fi