]> git.p6c8.net - jirafeau_project.git/commitdiff
[FEATURE] CI: Raise default PHP version
authorDan Untenzu <mail@pixelbrackets.de>
Thu, 3 Dec 2020 13:40:21 +0000 (14:40 +0100)
committerDan Untenzu <mail@pixelbrackets.de>
Thu, 3 Dec 2020 14:38:09 +0000 (14:38 +0000)
Use the same PHP versions for CI tests as in
the docker file.

Raise default version to a supported PHP branch.

.gitlab-ci.yml

index 6c6905e87fa11fbfab64a3400978a255acd2edc1..d12f0a41a53e551a730fae9bf0ac289581aa3a87 100644 (file)
@@ -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:

patrick-canterino.de