This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,17 @@ function run_specs_and_record_done {
43
43
}
44
44
45
45
function run_cukes {
46
+ echo ' 0'
46
47
if [ -d features ]; then
48
+ echo ' 1'
49
+ echo $( ruby -e " exit(RUBY_VERSION.to_f >= 2.5)" )
50
+
47
51
if is_ruby_25_plus; then
48
52
echo " ${PWD} /bin/cucumber"
49
53
50
54
if is_jruby; then
55
+ echo ' jruby'
56
+
51
57
# force jRuby to use client mode JVM or a compilation mode thats as close as possible,
52
58
# idea taken from https://github.com/jruby/jruby/wiki/Improving-startup-time
53
59
#
@@ -56,15 +62,17 @@ function run_cukes {
56
62
export JAVA_OPTS=' -client -XX:+TieredCompilation -XX:TieredStopAtLevel=1'
57
63
58
64
# For some reason JRuby doesn't like our improved bundler setup
59
- RUBYOPT=" -I${PWD} /../bundle -rbundler/setup" \
60
- PATH=" ${PWD} /bin:$PATH " \
61
- bin/cucumber --strict
65
+ # RUBYOPT="-I${PWD}/../bundle -rbundler/setup" \
66
+ # PATH="${PWD}/bin:$PATH" \
67
+ # bin/cucumber --strict
62
68
else
69
+ echo ' mri'
70
+
63
71
# Prepare RUBYOPT for scenarios that are shelling out to ruby,
64
72
# and PATH for those that are using `rspec` or `rake`.
65
- RUBYOPT=" ${RUBYOPT} -I${PWD} /../bundle -rbundler/setup" \
66
- PATH=" ${PWD} /bin:$PATH " \
67
- bin/cucumber --strict
73
+ # RUBYOPT="${RUBYOPT} -I${PWD}/../bundle -rbundler/setup" \
74
+ # PATH="${PWD}/bin:$PATH" \
75
+ # bin/cucumber --strict
68
76
fi
69
77
else
70
78
echo " skipping features"
You can’t perform that action at this time.
0 commit comments