#!/usr/bin/env bash export RAILS_ENV=test export COVERAGE=true bundle exec rake db:create if [[ $DATABASE_URL == mysql* ]] then bundle exec cucumber --profile default && bundle exec rake test else bundle exec rake test fi