From ba2499778fb23850cd808076bd65cea02dccf233 Mon Sep 17 00:00:00 2001 From: Cyril L'Orphelin <cyril.lorphelin@cc.in2p3.fr> Date: Wed, 5 Feb 2020 08:03:32 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75f0f9aa..de046f0a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,9 +27,7 @@ job_test: script: - cd tms - echo "${env_test}" > .env - # Install composer - - curl -sS https://getcomposer.org/installer | php - - php composer.phar install + # Install yarn and assets - npm cache clean -f - npm install -g n @@ -38,6 +36,9 @@ job_test: - export PATH="$HOME/.yarn/bin:$PATH" - yarn install --ignore-engines - yarn encore dev + # Install composer + - curl -sS https://getcomposer.org/installer | php + - php composer.phar install # Tests - vendor/bin/simple-phpunit --configuration phpunit.xml.dist -- GitLab