Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
executable file 22 lines (15 sloc) 486 Bytes
# Making the script more robust
set -e # Exit on errors
set -u # Exit on uninitialized variables
# Test environment
export RAILS_ENV=test
# Configure database access
cp -f config/database.yml.example config/database.yml
# Create databases and sharding tables
mysql -u root < db/create_databases.sql
mysql -u root db_charmer_sandbox_test < db/sharding.sql
# Run migrations
bundle exec rake db:migrate
# Run the build and return its exit code
exec bundle exec rake spec
Jump to Line
Something went wrong with that request. Please try again.