We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 284f25a commit 30859b5Copy full SHA for 30859b5
travis/script/predicate_functions.sh
@@ -62,6 +62,18 @@ function is_ruby_23_plus {
62
fi
63
}
64
65
+function is_mri_27 {
66
+ if is_mri; then
67
+ if ruby -e "exit(RUBY_VERSION.to_f == 2.7)"; then
68
+ return 0
69
+ else
70
+ return 1
71
+ fi
72
73
74
75
+}
76
+
77
function rspec_rails_compatible {
78
if is_ruby_23_plus; then
79
return 0
@@ -86,7 +98,11 @@ function additional_specs_available {
86
98
function documentation_enforced {
87
99
if [ -x ./bin/yard ]; then
88
100
if is_mri_2plus; then
89
- return 0
101
+ if is_mri_27; then
102
103
104
105
90
106
else
91
107
return 1
92
108
0 commit comments