Skip to content

Commit

Permalink
Merge pull request rapid7#114 from erran/add-codeclimate-test-reporter
Browse files Browse the repository at this point in the history
Add codeclimate-test-reporter as a development dependency
  • Loading branch information
erran-r7 committed Feb 12, 2015
2 parents 17e5645 + 03d47a2 commit ae21b3b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ rvm:
- 2.1.0
- 2.2.0
script: bundle exec rspec --color --format=documentation
addons:
code_climate:
repo_token: 6d4a51b47839a35d44ba7a899bd12e7cb4c519664cf2508724f8765210493ba2
1 change: 1 addition & 0 deletions nexpose.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ Gem::Specification.new do |s|
s.add_runtime_dependency('rex', '~> 2.0.5', '>= 2.0.5')

s.add_development_dependency('bundler', '~> 1.3')
s.add_development_dependency('codeclimate-test-reporter', '~> 0.4.6')
s.add_development_dependency('rspec', '~> 3.2')
end
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
require 'nexpose'

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

0 comments on commit ae21b3b

Please sign in to comment.