]> git.p6c8.net - jirafeau_project.git/commitdiff
[TASK] update CI to add PHP 8.1
authorJerome Jutteau <jerome@jutteau.fr>
Sun, 3 Jul 2022 15:21:42 +0000 (17:21 +0200)
committerJérôme Jutteau <jerome@jutteau.fr>
Wed, 6 Jul 2022 09:35:57 +0000 (09:35 +0000)
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
.gitlab-ci.yml

index cddf9409209f5ad1b3ba9bbdffc83a94a97ccc65..70243212808b3eb9b54f94497214cab06878f946 100644 (file)
@@ -1,5 +1,5 @@
 # Select docker image from https://hub.docker.com/_/php/
-image: php:7.3
+image: php:8.1
 
 # Select what we should cache
 cache:
@@ -27,8 +27,15 @@ test_app_phpdefaultversion:
     - ./vendor/bin/parallel-lint --exclude vendor .
     - ./vendor/bin/php-cs-fixer -vvv fix . --dry-run --diff --using-cache=no --rules=@PSR2
 
-job_lint_app_phpnextversion:
-  image: php:7.4
+test_app_php81:
+  image: php:8.1
+  script:
+    - ./vendor/bin/parallel-lint --exclude vendor .
+    - ./vendor/bin/php-cs-fixer -vvv fix . --dry-run --diff --using-cache=no --rules=@PSR2
+  allow_failure: true
+
+test_app_php73:
+  image: php:7.3
   script:
     - ./vendor/bin/parallel-lint --exclude vendor .
     - ./vendor/bin/php-cs-fixer -vvv fix . --dry-run --diff --using-cache=no --rules=@PSR2

patrick-canterino.de