You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
896 B
YAML

---
name: default
kind: pipeline
type: docker
steps:
- name: composer
image: composer
volumes:
- name: composer
path: /composer
environment:
COMPOSER_HOME: /composer
commands:
- composer install --no-ansi --no-interaction
- ./bin/setup
- name: code styling
image: d.xr.to/php
commands:
- ./vendor/bin/php-cs-fixer fix --dry-run src
depends_on:
- composer
- name: static analysis
image: d.xr.to/php
commands:
- ./vendor/bin/phpstan analyse -l max -a config/autoload_with_route.php src
depends_on:
- composer
- name: testing
image: d.xr.to/php
commands:
- ./vendor/bin/phpunit
depends_on:
- composer
volumes:
- name: composer
host:
path: /tank/var/composer-cache
---
kind: signature
hmac: 14e6f6584181d960650e6f38c42740c8b9a50d17ba6e61a6177ff824313a0bdd