Skip to content

Commit

Permalink
Skip old ruby when generating coverage specs
Browse files Browse the repository at this point in the history
  • Loading branch information
kattrali committed Aug 11, 2017
1 parent 5286521 commit 7cf762f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
require 'simplecov'
require 'coveralls'
if RUBY_VERSION > "1.9"
require 'simplecov'
require 'coveralls'

SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
add_filter 'spec'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
add_filter 'spec'
end
end

require 'bugsnag'
Expand Down

0 comments on commit 7cf762f

Please sign in to comment.