Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 0373f4c

Browse files
committed
EXPERIMENT: Run cucumber on JRuby
In hopes it doesn't take 45+ minutes anymore
1 parent 5ffd076 commit 0373f4c

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

script/custom_build_functions.sh

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,10 @@ function run_cukes {
22
if [ -d features ]; then
33
echo "${PWD}/bin/cucumber"
44

5-
if is_jruby; then
6-
echo "WARNING: Cucumber is skipped on JRuby on rspec-core due to" \
7-
"excessive build times (>45 minutes) causing timeouts on Travis"
8-
return 0
9-
else
10-
# Prepare RUBYOPT for scenarios that are shelling out to ruby,
11-
# and PATH for those that are using `rspec` or `rake`.
12-
RUBYOPT="${RUBYOPT} -I${PWD}/../bundle -rbundler/setup" \
13-
PATH="${PWD}/bin:$PATH" \
14-
bin/cucumber --strict
15-
fi
5+
# Prepare RUBYOPT for scenarios that are shelling out to ruby,
6+
# and PATH for those that are using `rspec` or `rake`.
7+
RUBYOPT="${RUBYOPT} -I${PWD}/../bundle -rbundler/setup" \
8+
PATH="${PWD}/bin:$PATH" \
9+
bin/cucumber --strict
1610
fi
1711
}

0 commit comments

Comments
 (0)