Olivier Massot il y a 8 mois
Parent
commit
ebcea59d20
1 fichiers modifiés avec 3 ajouts et 11 suppressions
  1. 3 11
      .gitlab-ci.yml

+ 3 - 11
.gitlab-ci.yml

@@ -14,14 +14,12 @@ cache:
     - ./vendor
     - ~/.composer/cache
 
-
 build_image:
   stage: build
   image: docker:latest
   services:
     - docker:dind
   variables:
-    CI_DEBUG_TRACE: "true"
     DOCKER_TLS_CERTDIR: ""
   before_script:
     - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
@@ -34,12 +32,9 @@ build_image:
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
 
 unit:
-  image: ${CI_REGISTRY_IMAGE}:latest
+  image: $CI_REGISTRY_IMAGE:latest
   stage: test
 
-  variables:
-    CI_DEBUG_TRACE: "true"
-
   script:
     - php vendor/phpunit/phpunit/phpunit --configuration phpunit.xml.dist --colors=never --no-interaction --testsuite=unit
     #- php vendor/phpunit/phpunit/phpunit --configuration phpunit.xml.dist --colors=never --no-interaction --no-coverage --testsuite=application
@@ -58,7 +53,7 @@ unit:
 #    - php bin/console d:s:v
 
 static_analysis:
-  image: ${CI_REGISTRY_IMAGE}:latest
+  image: $CI_REGISTRY_IMAGE:latest
   stage: analysis
   script:
     - php vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json  # Display code quality in MR
@@ -69,10 +64,7 @@ static_analysis:
       codequality: phpstan.json
 
 code_style:
-  image: ${CI_REGISTRY_IMAGE}:latest
+  image: $CI_REGISTRY_IMAGE:latest
   stage: analysis
   script:
     - php vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php
-
-
-