Permalink
Browse files

Add Coveralls for code coverage reporting

  • Loading branch information...
1 parent da0ff99 commit 5e100aa420289e0dd0b3165c3de7992e1f9695c6 @sferik sferik committed Feb 26, 2013
Showing with 10 additions and 6 deletions.
  1. +1 −0 Gemfile
  2. +9 −6 test/test_helper.rb
View
@@ -4,6 +4,7 @@ gem 'jruby-openssl', :platforms => :jruby
gem 'rake'
group :test do
+ gem 'coveralls', :require => false
gem 'minitest'
gem 'rr'
gem 'simplecov', :require => false
View
@@ -1,9 +1,12 @@
-unless ENV['CI']
- require 'simplecov'
- SimpleCov.start do
- add_filter 'test'
- end
-end
+require 'simplecov'
+require 'coveralls'
+
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+]
+SimpleCov.start
+
require 'twurl'
require 'minitest/autorun'
require 'rr'

0 comments on commit 5e100aa

Please sign in to comment.