Skip to content

Commit

Permalink
Fix codeclimate-test-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
jnv committed Jan 24, 2017
1 parent 6dae4f6 commit 9617c7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ matrix:
- rvm: ruby-head
before_install:
- gem update --system # https://github.com/vcr/vcr/issues/582
after_success: bundle exec codeclimate-test-reporter
3 changes: 2 additions & 1 deletion kosapi_client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec-given'
spec.add_development_dependency 'dotenv'
spec.add_development_dependency 'vcr', '~> 3.0'
spec.add_development_dependency 'codeclimate-test-reporter'
spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.0'
spec.add_development_dependency 'guard-rspec'
spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'fuubar', '~> 2.2.0'
spec.add_development_dependency 'simplecov'

spec.add_runtime_dependency 'oauth2'
spec.add_runtime_dependency 'faraday', '~> 0.9'
Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Dotenv.load

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

if ENV['TRAVIS']
Expand Down

0 comments on commit 9617c7e

Please sign in to comment.