Skip to content

Commit

Permalink
Add Code Climate test reporter configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
craiglittle committed Feb 16, 2015
1 parent 307134a commit d19ef8a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
Gemfile.lock
pkg
bin/
coverage/
1 change: 0 additions & 1 deletion .rspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
--require biz
--require helper
--warnings
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ gemspec
group :development do
gem 'bump', '~> 0.1', require: false
end

group :test do
gem 'codeclimate-test-reporter', '~> 0.4', require: false
end
6 changes: 6 additions & 0 deletions spec/helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
if ENV['CODECLIMATE_REPO_TOKEN']
require 'codeclimate-test-reporter'

CodeClimate::TestReporter.start
end

require 'biz'

RSpec.configure do |config|
Expand Down

0 comments on commit d19ef8a

Please sign in to comment.