From c3c7c86917d4c01c0cb2188dba77e4119788e81f Mon Sep 17 00:00:00 2001 From: Dan Untenzu Date: Thu, 3 Dec 2020 14:40:21 +0100 Subject: [PATCH 1/1] [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. --- .gitlab-ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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: -- 2.34.1