From 8897eca4222e58616691126329740fdc50f56f62 Mon Sep 17 00:00:00 2001 From: trizz Date: Fri, 5 Aug 2022 13:34:35 +0200 Subject: [PATCH] Add '.drone.yml' --- .drone.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..278e071 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,23 @@ +kind: docker +name: default + +steps: +- name: install + image: composer + commands: + - composer install + +- name: phpstan + image: php:8 + commands: + - vendor/bin/phpstan analyse + +- name: phpunit + image: php:8 + commands: + - vendor/bin/phpunit + +- name: style check + image: php:8 + commands: + - PHP_CS_FIXER_IGNORE_ENV=true vendor/bin/php-cs-fixer fix \ No newline at end of file