Skip to content
Snippets Groups Projects
Commit 70bc2e0a authored by Thibault Debatty's avatar Thibault Debatty
Browse files

moved php-cpd to a separate job (require php 7.3)

parent 9e7c4eac
No related branches found
No related tags found
No related merge requests found
Pipeline #5212 failed
......@@ -26,9 +26,17 @@ test:php72:
script:
- vendor/bin/phpunit --coverage-text --colors=never
- vendor/bin/phpcs
- vendor/bin/phpcpd app/ config/ database/ public/ resources/ routes/ tests/
- vendor/bin/phpstan analyze --memory-limit=512M
# The latest versions of PHP CPD requires PHP7.3
test:cpd:
stage: test
image: cylab/php73
before_script:
- composer require --dev sebastian/phpcpd:^6.0.3
script:
- vendor/bin/phpcpd app/ config/ database/ public/ resources/ routes/ tests/
test:dependencies:
image: cylab/php72
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment