Skip to content

Commit

Permalink
Fix Travis builds after upgrading code-climate-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuczynski committed Dec 22, 2016
1 parent b7eb13f commit fcf2684
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ script:
addons:
code_climate:
repo_token: e233a382471f480a061ac3098edadbb91cee8129e0938973aeb2aa8d84a0a93b
after_success:
- bundle exec codeclimate-test-reporter
1 change: 1 addition & 0 deletions config.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rubocop', '~> 0.46', '>= 0.46.0'

if ENV['TRAVIS']
s.add_development_dependency 'simplecov', '~> 0.12.0'
s.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.3'
end
end
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Code Climate
#
if ENV['TRAVIS']
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
require 'simplecov'
SimpleCov.start
end

##
Expand Down

0 comments on commit fcf2684

Please sign in to comment.