Use the same PHP versions for CI tests as in
the docker file.
Raise default version to a supported PHP branch.
# Select docker image from https://hub.docker.com/_/php/
# Select docker image from https://hub.docker.com/_/php/
# Select what we should cache
cache:
# Select what we should cache
cache:
script:
- ./vendor/bin/parallel-lint --exclude vendor .
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
# 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:
test_app_php70:
image: php:7.0
script: