File tree Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ if RUBY_VERSION < '2.0.0'
47
47
gem 'mime-types' , '< 3'
48
48
end
49
49
50
+ # Version 5.12 of minitest requires Ruby 2.4
51
+ if RUBY_VERSION < '2.4.0'
52
+ gem 'minitest' , '< 5.12.0'
53
+ end
50
54
51
55
# Capybara versions that support RSpec 3 only support RUBY_VERSION >= 1.9.3
52
56
if RUBY_VERSION >= '1.9.3'
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ function run_specs_one_by_one {
72
72
73
73
for file in ` find spec -iname ' *_spec.rb' ` ; do
74
74
echo " Running $file "
75
- bin/rspec $file -b - -format progress
75
+ bin/rspec $file --format progress
76
76
done
77
77
}
78
78
Original file line number Diff line number Diff line change @@ -33,6 +33,18 @@ function is_mri_192 {
33
33
fi
34
34
}
35
35
36
+ function is_mri_193 {
37
+ if is_mri; then
38
+ if ruby -e " exit(RUBY_VERSION == '1.9.3')" ; then
39
+ return 0
40
+ else
41
+ return 1
42
+ fi
43
+ else
44
+ return 1
45
+ fi
46
+ }
47
+
36
48
function is_mri_192_plus {
37
49
if is_mri; then
38
50
if ruby -e " exit(RUBY_VERSION.to_f > 1.8)" ; then
Original file line number Diff line number Diff line change @@ -29,7 +29,11 @@ if style_and_lint_enforced; then
29
29
fi
30
30
31
31
if is_mri; then
32
- fold " one-by-one specs" run_specs_one_by_one
32
+ # As of 2019-09-24 this causes a huge log due to a cicular dependency
33
+ # disable for now
34
+ if ! is_mri_193; then
35
+ fold " one-by-one specs" run_specs_one_by_one
36
+ fi
33
37
run_all_spec_suites
34
38
else
35
39
echo " Skipping the rest of the build on non-MRI rubies"
You can’t perform that action at this time.
0 commit comments