1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Create schema based on config file (on MySQL & MariaDB)

This commit is contained in:
Luís Cobucci 2017-06-22 08:30:27 +02:00
parent e8332a45de
commit 21ad7a1913
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C

View File

@ -18,6 +18,7 @@ before_script:
- composer install --prefer-source
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
- if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;
- if [[ $DB == "mysql" || $DB == "mariadb" ]]; then mysql -e "CREATE SCHEMA doctrine_tests; GRANT ALL PRIVILEGES ON doctrine_tests.* to travis@'%'"; fi;
script:
- ENABLE_SECOND_LEVEL_CACHE=0 ./vendor/bin/phpunit -v -c tests/travis/$DB.travis.xml $PHPUNIT_FLAGS