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
script:
- CODECLIMATE_REPO_TOKEN=e778c5658e8488a37795ec48f8c6990135f7a2ec35ceadc2e816a4ed1e3f20ab ruby test/test_all.rb
- CODECLIMATE_REPO_TOKEN=e778c5658e8488a37795ec48f8c6990135f7a2ec35ceadc2e816a4ed1e3f20ab bundle exec codeclimate-test-reporter
rvm:
- 2.1.10
- 2.2.5
- 2.3.1
- 2.2.6
- 2.3.3

View File

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