Vincent пре 2 година
родитељ
комит
083f52ab3e
1 измењених фајлова са 5 додато и 1 уклоњено
  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