Create travis database using symfony command.

This commit is contained in:
Jan Böhmer 2019-10-20 15:19:32 +02:00
parent 822fa7e7e4
commit 558ae5ba4b

View file

@ -15,11 +15,9 @@ php:
- '7.4snapshot'
- 'nightly'
before_install:
- mysql -e 'CREATE DATABASE part-db_test;'
install:
- composer install
- php bin/console --env test doctrine:database:create --if-not-exists -n
- php bin/console --env test doctrine:migrations:migrate -n
- php bin/console --env test doctrine:fixtures:load -n