X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=GNUmakefile;fp=GNUmakefile;h=d8c16202848e091db22d4e65409125e443db0692;hb=6df8b9c6a90de333c9e24a49615fffa9e350e382;hp=a04468cb1a6a9704440aadb7eb27fdaef0f22fee;hpb=842af5c3571c5318ae4e1c81dc52457fbf6d3f21;p=github%2Fwallabag%2Fwallabag.git diff --git a/GNUmakefile b/GNUmakefile index a04468cb..d8c16202 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -25,6 +25,12 @@ run: ## Run the wallabag built-in server build: ## Run webpack @npm run build:$(ENV) +prepare-travis-pg: ## Custom prepare for Travis & Postgres (do not drop/create the database) +ifdef DB + cp app/config/tests/parameters_test.$(DB).yml app/config/parameters_test.yml +endif + php bin/console doctrine:migrations:migrate --no-interaction --env=test + prepare: clean ## Prepare database for testsuite ifdef DB cp app/config/tests/parameters_test.$(DB).yml app/config/parameters_test.yml