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
869 B
YAML

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