diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75f0f9aa97badab6d5b48d29502d7c617d5de1e4..c60fa79ac5d48cca6a713b7c9fc45aa2c6d64e9b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,10 +27,8 @@ 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 + + ## Install yarn and assets - npm cache clean -f - npm install -g n - n stable @@ -38,7 +36,10 @@ job_test: - export PATH="$HOME/.yarn/bin:$PATH" - yarn install --ignore-engines - yarn encore dev - # Tests + ## Install composer + - curl -sS https://getcomposer.org/installer | php + - php composer.phar install + ## Tests - vendor/bin/simple-phpunit --configuration phpunit.xml.dist