Skip to content

Commit

Permalink
Update test Rubies on Travis and simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
halostatue committed Mar 23, 2018
1 parent 42c0dc9 commit 192b116
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
language: ruby

rvm:
- 2.3.1
- 2.2.5
- 2.1.9
- 2.0
- jruby-9.1.0.0
- 2.5.0
- 2.4.3
- 2.3.6
- 2.2.9
- 2.1.10
- 2.0.0-p648
- jruby-9.1.9.0
- jruby-9.0.5.0
- ruby-head
- jruby-head
Expand Down
9 changes: 4 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,15 @@ module Hoe::Publish #:nodoc:
end
end

namespace :test do
if File.exist?('.simplecov-prelude.rb')
if File.exist?('.simplecov-prelude.rb')
namespace :test do
task :coverage do
spec.test_prelude = 'load ".simplecov-prelude.rb"'

Rake::Task['test'].execute
end
end

CLOBBER << 'coverage'
CLOBBER << 'coverage'
end
end

CLOBBER << 'tmp'

0 comments on commit 192b116

Please sign in to comment.