Ver código fonte

phpstan report ci

Vincent 2 anos atrás
pai
commit
083f52ab3e
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      .gitlab-ci.yml

+ 5 - 1
.gitlab-ci.yml

@@ -16,7 +16,11 @@ before_script:
 
 static_analysis:
   script:
-    - vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format=gitlab
+    - php --version && php -d memory_limit=512M vendor/bin/phpstan analyse -c phpstan.neon.dist --no-progress --error-format gitlab > phpstan.json
+  artifacts:
+    when: always
+    reports:
+      codequality: phpstan.json
 
 unit:
   stage: test