From a3dd5e0e491b0fdce1ca8993bb1cbe811b903bb4 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 7 Nov 2022 21:49:46 +0100 Subject: [PATCH] test drone --- .drone.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .drone.yml 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 + +