diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..1487a01 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +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 ./vencor/bin/ecs + depends_on: + - install + +