Skip to content

Commit

Permalink
code climate.....
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Nov 7, 2016
1 parent 521ffaf commit 16ba202
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:

install: bundle install --path=vendor/bundle --retry=3 --jobs=3
script: "bundle exec rspec"
after_script: codeclimate-test-reporter

addons:
code_climate:
Expand Down
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ gemspec
local_gemfile = File.join(File.expand_path('..', __FILE__), 'spec/support/rails_app/Gemfile')
eval_gemfile local_gemfile if File.readable?(local_gemfile)

gem 'codeclimate-test-reporter', group: :test, require: nil
group :test do
gem 'simplecov'
gem 'codeclimate-test-reporter', group: :test, require: nil
end

version = ENV['RAILS_VERSION'] || '5.0'

Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# frozen_string_literal: true
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
require 'simplecov'
SimpleCov.start

0 comments on commit 16ba202

Please sign in to comment.