From 3f3384cdafe2d2fb7802cc01d2aa5fd75513f5d5 Mon Sep 17 00:00:00 2001
From: Perreal Guillaume <guillaume.perreal@irstea.fr>
Date: Fri, 22 Mar 2019 17:19:14 +0100
Subject: [PATCH] CI: ajout de PHPStan et de git pour php-cs-fixer.

---
 .gitlab-ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d2866c8..080e775 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,12 +39,18 @@ phploc:
   <<: *test
   script: vendor/bin/composer test:phploc
 
+phpstan:
+  <<: *test
+  script: vendor/bin/composer test:phpstan
+
 lint:
   <<: *test
   script: vendor/bin/composer test:lint
 
 php-cs-fixer:
   <<: *test
+  before_script:
+    - apt-get update -yqq && apt-get install -yqq git
   script: vendor/bin/composer test:php-cs-fixer
 
 phpcpd:
-- 
GitLab