#!/bin/bash
# vim: set ft=sh

set -e
source diego-release/scripts/ci/initialize_mysql.sh

if [ "${SQL_FLAVOR}" = "mysql" ]; then
  initialize_mysql
elif [ "${SQL_FLAVOR}" = "postgres" ]; then
  service postgresql start
else
  initialize_mysql
  service postgresql start
fi


./diego-release/scripts/ci/run_unit_internal
