Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
# 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:
- ./vendor/bin/parallel-lint --exclude vendor .
- ./vendor/bin/php-cs-fixer -vvv fix . --dry-run --diff --using-cache=no --rules=@PSR2
- ./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
script:
- ./vendor/bin/parallel-lint --exclude vendor .
- ./vendor/bin/php-cs-fixer -vvv fix . --dry-run --diff --using-cache=no --rules=@PSR2