Skip to content

Commit

Permalink
Avoid cov on 1.8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ukatama committed Jul 23, 2019
1 parent fd5576a commit 016606b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ require "rake/testtask"

task :default => :test

require 'coveralls/rake/task'
Coveralls::RakeTask.new
task :test_with_coveralls => [:test, 'coveralls:push']
if RUBY_VERSION < '1.8'
task :test_with_coveralls => :test
else
require 'coveralls/rake/task'
Coveralls::RakeTask.new
task :test_with_coveralls => [:test, 'coveralls:push']
end

desc 'Clean coverage resuts'
task :clean_coverage do
Expand Down

0 comments on commit 016606b

Please sign in to comment.