Skip to content

Commit

Permalink
Add Coveralls for code coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Mar 2, 2013
1 parent 7c932c8 commit 350d225
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .gitignore
@@ -1,6 +1,7 @@
Gemfile.lock
pkg/*
.rvmrc
*.swp
bin
.bundle
.rvmrc
Gemfile.lock
bin
coverage
pkg/*
2 changes: 2 additions & 0 deletions Gemfile
Expand Up @@ -28,7 +28,9 @@ group :test do
end
end

gem 'coveralls', :require => false
gem 'rspec', '>= 2.11'
gem 'simplecov', :require => false
end

gemspec
9 changes: 8 additions & 1 deletion spec/helper.rb
@@ -1,4 +1,11 @@
$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start

require 'logger'
require 'rspec'
Expand Down

0 comments on commit 350d225

Please sign in to comment.