Skip to content

Commit

Permalink
ADD coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
netbe committed Oct 24, 2013
1 parent 52a8185 commit 51b95f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
source "http://rubygems.org"

# Specify your gem's dependencies in teachmehowtomakearubygem.gemspec
gemspec
gemspec

group :test do
gem 'coveralls', :require => false
end
5 changes: 4 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
begin
require 'simplecov'
SimpleCov.start do
SimpleCov.start do
add_filter "test"
end
rescue LoadError
puts 'Coverage disabled, enable by installing simplecov'
end

require 'coveralls'
Coveralls.wear!

require 'test/unit'

0 comments on commit 51b95f6

Please sign in to comment.