X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Makefile;h=0686454fc09c4c75ead74d09fe6a2124ddb8bb99;hb=18fb777b89c6cca529979ab1202eb1af5458bd5d;hp=9e44edc6a1c1448f1d7dd8e617cacda0ca68a69d;hpb=d3d0defabc8224172b59c85db66c2d4e6bc3f06b;p=github%2Fwallabag%2Fwallabag.git diff --git a/Makefile b/Makefile index 9e44edc6..0686454f 100755 --- a/Makefile +++ b/Makefile @@ -30,18 +30,7 @@ ifdef DB endif -php bin/console doctrine:database:drop --force --env=test php bin/console doctrine:database:create --env=test -ifndef DB ## make test does not define DB - php bin/console doctrine:schema:create --env=test -endif -ifeq ($(DB), sqlite) - php bin/console doctrine:schema:create --env=test -endif -ifeq ($(DB), mysql) - php bin/console doctrine:database:import data/sql/mysql_base.sql --env=test -endif -ifeq ($(DB), pgsql) - psql -h localhost -d wallabag_test -U travis -f data/sql/pgsql_base.sql -endif + php bin/console doctrine:migrations:migrate --no-interaction --env=test fixtures: ## Load fixtures into database php bin/console doctrine:fixtures:load --no-interaction --env=test