From e6f003b3b2e208346e2330003789a0b0e0f83420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 20 Oct 2019 15:33:43 +0200 Subject: [PATCH] Set APP_ENV env the right way. --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b204e366..4b31f79c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,7 @@ services: - mysql env: - - SYMFONY_DEPRECATIONS_HELPER=disabled # Disable deprecation warnings - - APP_ENV=test + - SYMFONY_DEPRECATIONS_HELPER=disabled APP_ENV=test # Disable deprecation warnings # Test for all supported PHP versions php: @@ -21,9 +20,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 + - php bin/console --env test doctrine:schema:drop --force + - php bin/console --env test doctrine:schema:update --force + - php bin/console --env test doctrine:fixtures:load -n script: - php bin/phpunit