Skip to content
Snippets Groups Projects
Commit 0c1ef11b authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

déplacement du before_script pour les tests unitaires

parent 1926ff57
No related branches found
No related tags found
No related merge requests found
Pipeline #31622 passed
...@@ -14,15 +14,14 @@ cache: ...@@ -14,15 +14,14 @@ cache:
paths: paths:
- vendor/ - vendor/
test:
stage: test
before_script: before_script:
# Met à jour Composer et installe les dépendances # Met à jour Composer et installe les dépendances
- apt-get update -yqq - apt-get update -yqq
- apt-get install git unzip -yqq - apt-get install git unzip -yqq
- curl -sS https://getcomposer.org/installer | php - curl -sS https://getcomposer.org/installer | php
- php composer.phar install --prefer-dist --no-progress --no-interaction - php composer.phar install --prefer-dist --no-progress --no-interaction
test:
stage: test
script: script:
# Exécute les tests PHPUnit # Exécute les tests PHPUnit
- ./vendor/bin/phpunit --colors=always - ./vendor/bin/phpunit --colors=always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment