tracks/script/cibuild

13 lines
232 B
Text
Raw Normal View History

#!/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