Skip to content

Commit

Permalink
use the same coveralls setup as core
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Aug 6, 2013
1 parent 3d5c855 commit 863adb7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions spec/spec_helper.rb
Expand Up @@ -3,8 +3,15 @@
require 'rspec/autotest'
require 'aruba/api'

require 'coveralls'
Coveralls.wear!
unless ENV['NO_COVERALLS']
require 'simplecov' if RUBY_VERSION.to_f > 1.8
require 'coveralls'
Coveralls.wear! do
add_filter '/bundle/'
add_filter '/spec/'
add_filter '/tmp/'
end
end

if RUBY_PLATFORM == 'java'
# Works around https://jira.codehaus.org/browse/JRUBY-5678
Expand Down

0 comments on commit 863adb7

Please sign in to comment.