diff --git a/ci.sh b/ci.sh index 8179a8ed..bf31c35c 100755 --- a/ci.sh +++ b/ci.sh @@ -2,10 +2,14 @@ set -e echo "Adding git safe directory" git config --global --add safe.directory /app +echo "Creating DB" +bundle exec bin/rake db:create +echo "Loading Schema" +bundle exec bin/rake db:schema:load echo "Unsetting database url" unset DATABASE_URL echo "Sourcing NVM" source $NVM_DIR/nvm.sh echo "Running tests" -bin/rspec spec/ +bundle exec bin/rake echo "CI runner done"