Created
February 28, 2013 08:08
-
-
Save bmaland/5055086 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/bash | |
# Script for running tests on the continuous integration server. | |
set -e # exit on error | |
## Make sure latest gems are installed | |
bundle install | |
## Verify that asset precompilation works | |
bundle exec rake assets:precompile | |
## Run specs (including phantomjs js integration) | |
source .env.sample | |
COVERAGE=1 bundle exec rake ci:setup:rspec spec | |
## Run brakeman security report | |
gem install brakeman --no-ri --no-rdoc && brakeman -o brakeman-output.tabs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment