Olivier Massot 8 miesięcy temu
rodzic
commit
907c99012d
2 zmienionych plików z 19 dodań i 18 usunięć
  1. 19 17
      .gitlab-ci.yml
  2. 0 1
      tests/ci_docker_install.sh

+ 19 - 17
.gitlab-ci.yml

@@ -14,23 +14,6 @@ before_script:
   - bash tests/ci_docker_install.sh > /dev/null
   - php -v
 
-static_analysis:
-  script:
-    - php vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json  # Display code quality in MR
-    - php vendor/bin/phpstan analyse -c phpstan.neon.dist
-  artifacts:
-    when: always
-    reports:
-      codequality: phpstan.json
-
-code_style:
-  script:
-    - php vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php
-
-#doctrine:
-#  script:
-#    - php bin/console d:s:v
-
 unit:
   stage: test
 
@@ -47,3 +30,22 @@ unit:
 
   coverage: '/^\s*Lines:\s*\d+.\d+\%/'
 
+#doctrine:
+#  script:
+#    - php bin/console d:s:v
+
+static_analysis:
+  script:
+    - php vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json  # Display code quality in MR
+    - php vendor/bin/phpstan analyse -c phpstan.neon.dist
+  artifacts:
+    when: always
+    reports:
+      codequality: phpstan.json
+
+code_style:
+  script:
+    - php vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php
+
+
+

+ 0 - 1
tests/ci_docker_install.sh

@@ -60,5 +60,4 @@ php -r "unlink('composer-setup.php'); unlink('installer.sig');"
 echo "memory_limit=2096M" > /usr/local/etc/php/conf.d/memory-limit.ini
 
 # Install modules
-rm -r vendor
 HOST=ci php composer.phar install --no-cache --no-interaction --ignore-platform-reqs