-
-
Save endeepak/07da16b444bd8e58386b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
unset DISPLAY | |
if [ ! -f /tmp/.X99-lock ]; then | |
Xvfb :99 -ac & | |
fi | |
export DISPLAY=:99 | |
bundle install --path ../bundle --quiet --without development production && | |
bundle exec rake RAILS_ENV=test db:migrate spec && | |
bundle exec rake RAILS_ENV=cucumber db:migrate cucumber |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment