Split long command into different commands.

This commit is contained in:
Jan Böhmer 2019-10-20 15:31:16 +02:00
parent 5c0f8dd311
commit 2f9dfdedc0

View file

@ -21,9 +21,9 @@ install:
# Migration is just for testing if it work, it is overwritten immediately
- php bin/console --env test doctrine:migrations:migrate -n
# Load fixtures (workaround https://github.com/doctrine/DoctrineFixturesBundle/issues/50)
- bin/console --env test doctrine:schema:drop --force \
&& bin/console --env test doctrine:schema:update --force \
&& bin/console --env test doctrine:fixtures:load -n
- bin/console --env test doctrine:schema:drop --force
- bin/console --env test doctrine:schema:update --force
- bin/console --env test doctrine:fixtures:load -n
script:
- php bin/phpunit