Sha256: 82b0f6d462370e82a603427e0ff2cd23df2c9b4658d8be2937489c6fc18eb294
Contents?: true
Size: 829 Bytes
Versions: 13
Compression:
Stored size: 829 Bytes
Contents
#!/bin/bash set -e -x # idea taken from: http://blog.headius.com/2010/03/jruby-startup-time-tips.html export JRUBY_OPTS='-X-C' # disable JIT since these processes are so short lived # force jRuby to use client mode JVM or a compilation mode thats as close as possible, # idea taken from https://github.com/jruby/jruby/wiki/Improving-startup-time export JAVA_OPTS='-client -XX:+TieredCompilation -XX:TieredStopAtLevel=1' echo "Running rspec specs" bin/rspec spec --format progress --profile echo "Running cucumber specs" # TODO: it would be nice to figure out how to run the cukes w/o the overhead of # bundler, but just running `bin/cucumber` can fail due to the fact that it # shells out (via aruba) and executes `rspec`--which can pick up the wrong # rspec version if we're not running with bundler. bundle exec cucumber
Version data entries
13 entries across 13 versions & 2 rubygems