fix codeclimate braking changes

This commit is contained in:
Torsten Ruger 2016-12-06 15:22:22 +02:00
parent adca8b21c1
commit fe203b55f1
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ sudo: false
cache: bundler cache: bundler
script: script:
- CODECLIMATE_REPO_TOKEN=e778c5658e8488a37795ec48f8c6990135f7a2ec35ceadc2e816a4ed1e3f20ab ruby test/test_all.rb - CODECLIMATE_REPO_TOKEN=e778c5658e8488a37795ec48f8c6990135f7a2ec35ceadc2e816a4ed1e3f20ab ruby test/test_all.rb
- CODECLIMATE_REPO_TOKEN=e778c5658e8488a37795ec48f8c6990135f7a2ec35ceadc2e816a4ed1e3f20ab bundle exec codeclimate-test-reporter
rvm: rvm:
- 2.1.10 - 2.2.6
- 2.2.5 - 2.3.3
- 2.3.1

View File

@ -8,8 +8,8 @@ rescue Bundler::BundlerError => e
exit e.status_code exit e.status_code
end end
if ENV['CODECLIMATE_REPO_TOKEN'] if ENV['CODECLIMATE_REPO_TOKEN']
require "codeclimate-test-reporter" require 'simplecov'
CodeClimate::TestReporter.start SimpleCov.start
end end
require "minitest/autorun" require "minitest/autorun"