22 lines
528 B
YAML
22 lines
528 B
YAML
pipeline:
|
|
requirements:
|
|
image: composer
|
|
commands:
|
|
- composer install --no-dev
|
|
run:
|
|
image: php
|
|
commands:
|
|
- ./backup show config.example.yml
|
|
test:
|
|
image: composer
|
|
commands:
|
|
- composer install
|
|
- ./vendor/bin/phpunit tests
|
|
tools:
|
|
image: php
|
|
commands:
|
|
- ./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
|
|
failure: ignore |