Skip to content
Permalink
Browse files

Fixed Travis db name

  • Loading branch information
ruudboon committed Jan 27, 2020
1 parent 51e94fb commit bd8529f3e1f084f72e2b91b31d7fe9db9ef12294
Showing with 4 additions and 4 deletions.
  1. +2 −2 .ci/setup-dbs.sh
  2. +2 −2 tests/_ci/.env.travis
@@ -8,12 +8,12 @@
# LICENSE.txt file that was distributed with this source code.

(>&1 echo "Create MySQL database...")
mysql -u root -e "CREATE DATABASE IF NOT EXISTS phalcon_test charset=utf8mb4 collate=utf8mb4_unicode_ci;"
mysql -u root -e "CREATE DATABASE IF NOT EXISTS phalcon charset=utf8mb4 collate=utf8mb4_unicode_ci;"
#mysql -u root phalcon_test < ./tests/_data/assets/db/schemas/mysql_schema.sql
(>&1 echo "Done.")

(>&1 echo "Create PostgreSQL database...")
psql -c 'create database phalcon_test;' -U postgres
psql -c 'create database phalcon;' -U postgres
#psql -U postgres phalcon_test -q -f ./tests/_data/assets/db/schemas/postgresql_schema.sql
(>&1 echo "Done.")

@@ -14,7 +14,7 @@ DATA_MYSQL_HOST="127.0.0.1"
DATA_MYSQL_PORT=3306
DATA_MYSQL_USER="travis"
DATA_MYSQL_PASS=""
DATA_MYSQL_NAME="phalcon_test"
DATA_MYSQL_NAME="phalcon"
DATA_MYSQL_CHARSET= "utf8"
DATA_MYSQL_DSN="mysql:host=${DATA_MYSQL_HOST};dbname=${DATA_MYSQL_NAME}"

@@ -23,7 +23,7 @@ DATA_POSTGRES_HOST="127.0.0.1"
DATA_POSTGRES_PORT=5432
DATA_POSTGRES_USER="postgres"
DATA_POSTGRES_PASS=""
DATA_POSTGRES_NAME="phalcon_test"
DATA_POSTGRES_NAME="phalcon"
DATA_POSTGRES_SCHEMA="public"

# Mongo

0 comments on commit bd8529f

Please sign in to comment.
You can’t perform that action at this time.