Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Commit

Permalink
Configure Code Climate
Browse files Browse the repository at this point in the history
  • Loading branch information
mknapik committed Jul 18, 2015
1 parent 6186fdc commit f0b5381
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .codeclimate.yml
@@ -0,0 +1,2 @@
languages:
Ruby: true
1 change: 1 addition & 0 deletions guard-spring.gemspec
Expand Up @@ -23,4 +23,5 @@ Gem::Specification.new do |gem|

gem.add_development_dependency 'rspec', '~> 3.0'
gem.add_development_dependency 'simplecov'
gem.add_development_dependency 'codeclimate-test-reporter'
end
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
@@ -1,6 +1,12 @@
# -*- encoding : utf-8 -*-
unless ENV['CI']
require 'simplecov'
require 'codeclimate-test-reporter'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
CodeClimate::TestReporter::Formatter,
]
SimpleCov.start do
add_group 'Guard::Spring', 'lib/guard'
add_group 'Specs', 'spec'
Expand Down

0 comments on commit f0b5381

Please sign in to comment.