Skip to content

Commit

Permalink
Fixed Travis db name
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudboon committed Jan 27, 2020
1 parent 51e94fb commit bd8529f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .ci/setup-dbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.")

Expand Down
4 changes: 2 additions & 2 deletions tests/_ci/.env.travis
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand All @@ -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
Expand Down

0 comments on commit bd8529f

Please sign in to comment.