2023-05-31 09:07:39 +00:00
|
|
|
pipeline:
|
|
|
|
requirements:
|
|
|
|
image: composer
|
|
|
|
commands:
|
2023-05-31 09:42:39 +00:00
|
|
|
- composer install --no-dev
|
|
|
|
run:
|
2023-05-31 09:07:39 +00:00
|
|
|
image: php
|
|
|
|
commands:
|
2023-05-31 09:42:39 +00:00
|
|
|
- ./backup show config.example.yml
|
|
|
|
test:
|
|
|
|
image: composer
|
|
|
|
commands:
|
|
|
|
- composer install
|
2023-06-01 09:22:23 +00:00
|
|
|
- ./vendor/bin/phpunit tests
|
2023-06-01 09:29:20 +00:00
|
|
|
tools:
|
2023-06-01 09:22:23 +00:00
|
|
|
image: php
|
|
|
|
commands:
|
2023-06-01 09:38:59 +00:00
|
|
|
- !./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode
|
|
|
|
- !./vendor/bin/phpstan analyze --level=7 src/ backup
|
|
|
|
- !./vendor/bin/psalm
|
|
|
|
- !./vendor/bin/phpcs src
|