From 4e6e02e7532fbf3df4483cb7c4e3adcbd0913148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 4 Jul 2017 16:32:09 +0200 Subject: [PATCH] fix path to new console --- .gitlab-ci.yml | 6 +++--- Resources/test/Fixtures/App/app/console.php | 21 --------------------- 2 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 Resources/test/Fixtures/App/app/console.php diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61fa78020..b553430e4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,9 +5,9 @@ - if [ -z ${GITHUB_TOKEN+x} ]; then composer config github-oauth.github.com $GITHUB_TOKEN; fi - php -d memory_limit=-1 /usr/local/bin/composer install --no-interaction - cp Resources/test/Fixtures/App/app/config/parameters.gitlab-ci.yml Resources/test/Fixtures/App/app/config/parameters.yml - - php Resources/test/Fixtures/App/app/console.php --env=test cache:warmup - - php Resources/test/Fixtures/App/app/console.php doctrine:migrations:migrate --env=test --no-interaction - - php Resources/test/Fixtures/App/app/console.php doctrine:fixtures:load --env=test --no-interaction + - php Resources/test/Fixtures/App/app/console --env=test cache:warmup + - php Resources/test/Fixtures/App/app/console doctrine:migrations:migrate --env=test --no-interaction + - php Resources/test/Fixtures/App/app/console doctrine:fixtures:load --env=test --no-interaction stages: - test diff --git a/Resources/test/Fixtures/App/app/console.php b/Resources/test/Fixtures/App/app/console.php deleted file mode 100644 index cf7efc348..000000000 --- a/Resources/test/Fixtures/App/app/console.php +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env php -getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev'); -$debug = getenv('SYMFONY_DEBUG') !== '0' && !$input->hasParameterOption(array('--no-debug', '')) && $env !== 'prod'; -if ($debug) { -Debug::enable(); -} -$kernel = new AppKernel($env, $debug); -$application = new Application($kernel); -$application->run($input); -