Skip to content

Commit

Permalink
Setup coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Nov 30, 2017
1 parent 3d718b1 commit 3180c5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions chatwork.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "faraday", "~> 0.9"

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "coveralls"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "rspec-its"
Expand Down
6 changes: 6 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# encoding: utf-8
#

if ENV["CI"]
require 'coveralls'
Coveralls.wear!
end

$: << File.expand_path(File.join(*%w{.. .. lib}), __FILE__)

require 'chatwork'
Expand Down

0 comments on commit 3180c5f

Please sign in to comment.