From 8b1d336a1c2693b7f372df10860b96aa8d8a6a82 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Sun, 3 Jul 2022 17:21:42 +0200 Subject: [PATCH 1/1] [TASK] update CI to add PHP 8.1 Signed-off-by: Jerome Jutteau --- .gitlab-ci.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cddf940..7024321 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- 2.34.1