Skip to content

Commit 116f705

Browse files
authored
Merge pull request rspec#170 from rspec/disable-simplecov-on-jruby
Disable SimpleCov on JRuby
2 parents 3257dd4 + 360a901 commit 116f705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

travis/script/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function run_specs_and_record_done {
2525

2626
# rspec-core needs to run with a special script that loads simplecov first,
2727
# so that it can instrument rspec-core's code before rspec-core has been loaded.
28-
if [ -f script/rspec_with_simplecov ]; then
28+
if [ -f script/rspec_with_simplecov ] && is_mri; then
2929
rspec_bin=script/rspec_with_simplecov
3030
fi;
3131

0 commit comments

Comments
 (0)