attribute-spass/.drone.yml
2022-11-07 21:52:34 +01:00

26 lines
468 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: install
image: composer
commands:
- cd app
- composer install
- name: phpstan
image: ghcr.io/phpstan/phpstan:1-php8.1
commands:
- cd app
- php ./vendor/bin/phpstan analyze
depends_on:
- install
- name: ecs
image: php:8.1-cli-alpine
commands:
- cd app
- php ./vendor/bin/ecs
depends_on:
- install