Skip to content

Commit

Permalink
Travis: codeclimate-test-reporter + codeclimate_batch
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Dec 1, 2016
1 parent e267012 commit 6831158
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ before_install:
script:
- bundle exec rspec --format d
- bundle exec rubocop
- CODECLIMATE_TO_FILE=1 bundle exec codeclimate-test-reporter
# NB: --groups must equal to the total number of jobs = dbs * gemfiles * rubies.
- bundle exec codeclimate-batch --groups 9
4 changes: 0 additions & 4 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
if ENV['COVERAGE'] && !%w(rbx jruby).include?(RUBY_ENGINE)
require 'simplecov'
SimpleCov.command_name 'RSpec'
if ENV['TRAVIS'] && ENV['TRAVIS_BRANCH'] == 'master'
require 'codeclimate_batch'
CodeclimateBatch.start
end
end

require 'db_text_search'
Expand Down

0 comments on commit 6831158

Please sign in to comment.