hibernate-orm/ci/build-github.sh

23 lines
635 B
Bash
Raw Normal View History

#! /bin/bash
2020-11-26 10:19:08 -05:00
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
java -version
if [ "$RDBMS" == 'mysql' ]; then
2020-11-26 10:19:08 -05:00
bash $DIR/../docker_db.sh mysql_5_7
elif [ "$RDBMS" == 'mysql8' ]; then
2020-11-26 10:19:08 -05:00
bash $DIR/../docker_db.sh mysql_8_0
elif [ "$RDBMS" == 'mariadb' ]; then
2020-11-26 10:19:08 -05:00
bash $DIR/../docker_db.sh mariadb
elif [ "$RDBMS" == 'postgresql' ]; then
2020-11-26 10:19:08 -05:00
bash $DIR/../docker_db.sh postgresql_9_5
elif [ "$RDBMS" == 'db2' ]; then
2020-11-26 10:19:08 -05:00
bash $DIR/../docker_db.sh db2
elif [ "$RDBMS" == 'oracle' ]; then
2020-11-26 10:19:08 -05:00
bash $DIR/../docker_db.sh oracle
elif [ "$RDBMS" == 'mssql' ]; then
2020-11-26 10:19:08 -05:00
bash $DIR/../docker_db.sh mssql
fi
2020-11-26 10:19:08 -05:00
exec bash $DIR/build.sh