From: Dan Untenzu Date: Thu, 3 Dec 2020 13:40:21 +0000 (+0100) Subject: [FEATURE] CI: Raise default PHP version X-Git-Tag: 4.3.0~19 X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/c3c7c86917d4c01c0cb2188dba77e4119788e81f?ds=sidebyside [FEATURE] CI: Raise default PHP version Use the same PHP versions for CI tests as in the docker file. Raise default version to a supported PHP branch. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c6905e..d12f0a4 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.1 +image: php:7.3 # Select what we should cache cache: @@ -25,7 +25,23 @@ test_app_phpdefaultversion: script: - ./vendor/bin/parallel-lint --exclude vendor . +job_lint_app_phpnextversion: + image: php:7.4 + script: + - ./vendor/bin/parallel-lint --exclude vendor . + allow_failure: true + # Run same tests with older supported versions +test_app_php72: + image: php:7.2 + script: + - ./vendor/bin/parallel-lint --exclude vendor . + +test_app_php71: + image: php:7.1 + script: + - ./vendor/bin/parallel-lint --exclude vendor . + test_app_php70: image: php:7.0 script: