X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/6e621f8bd49e3700163741f875aeebd7a361b957..8eaac5f4c305c363310494c4625962531906d947:/.gitlab-ci.yml 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