Skip to content

Commit

Permalink
add codeclimate-test-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
nijikon committed Feb 9, 2016
1 parent 9ba3e3c commit 812a3f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ matrix:
- rvm: rbx-3
fast_finish: true

addons:
code_climate:
repo_token: 40adf93a016e2779eef43dce8f16ca10098ed9f498522e87c8bc94cf14f3e977

before_install: gem update --remote bundler
script: bundle exec rake
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

Dir["#{rubocop_path}/spec/support/**/*.rb"].each { |f| require f }

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

RSpec.configure do |config|
config.order = :random

Expand Down

0 comments on commit 812a3f3

Please sign in to comment.