Sha256: 05fea0f2283a10ec57cc098b422b202ec72d58ec91b5922b28b421a11c723113
Contents?: true
Size: 822 Bytes
Versions: 5
Compression:
Stored size: 822 Bytes
Contents
function run_cukes { if [ -d features ]; then echo "${PWD}/bin/cucumber" if is_mri_192; then # For some reason we get SystemStackError on 1.9.2 when using # the bin/cucumber approach below. That approach is faster # (as it avoids the bundler tax), so we use it on rubies where we can. bundle exec cucumber --strict elif is_jruby; then echo "WARNING: Cucumber is skipped on JRuby on rspec-core due to" \ "excessive build times (>45 minutes) causing timeouts on Travis" return 0 else # Prepare RUBYOPT for scenarios that are shelling out to ruby, # and PATH for those that are using `rspec` or `rake`. RUBYOPT="${RUBYOPT} -I${PWD}/../bundle -rbundler/setup" \ PATH="${PWD}/bin:$PATH" \ bin/cucumber --strict fi fi }
Version data entries
5 entries across 5 versions & 1 rubygems