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