travis-ci
22 of 22 new or added lines in 2 files covered. (100.0%)
4324 of 4478 relevant lines covered (96.56%)
38.23 hits per line
1 |
require "rake"
|
6 all except jruby-head and jruby-9.1.6.0 ✔ |
2 |
|
|
3 |
# Load the test files from the command line.
|
|
4 |
argv = ARGV.select do |argument| |
6 all except jruby-head and jruby-9.1.6.0 ✔ |
|
begin
|
12 all except jruby-head and jruby-9.1.6.0 ✔ |
|
case argument
|
12 all except jruby-head and jruby-9.1.6.0 ✔ |
7 |
when /^-/ then |
|
|
argument |
3 only 2.4.0, 2.2.6, and 2.0.0 ✔ |
9 |
when /\*/ then |
|
|
FileList[argument].to_a.each do |file| |
3 only 2.4.0, 2.2.6, and 2.0.0 ✔ |
|
require File.expand_path file
|
6 only 2.4.0, 2.2.6, and 2.0.0 ✔ |
12 |
end
|
|
13 |
|
|
|
false
|
3 only 2.4.0, 2.2.6, and 2.0.0 ✔ |
|
else
|
× |
|
require File.expand_path argument
|
6 all except jruby-head and jruby-9.1.6.0 ✔ |
17 |
|
|
|
false
|
3 only 2.4.0, 2.2.6, and 2.0.0 ✔ |
|
end
|
× |
20 |
rescue LoadError => e |
|
|
abort "\nFile does not exist: #{e.path}\n\n"
|
3 only 2.3.3, 2.1.10, and ruby-head ✔ |
22 |
end
|
|
23 |
end
|
|
24 |
|
|
25 |
ARGV.replace argv
|
3 only 2.4.0, 2.2.6, and 2.0.0 ✔ |