Add CI
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Michel Roux 2023-06-18 01:59:45 +02:00
parent 222c886121
commit e562c757f6

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
kind: pipeline
name: default
type: docker
steps:
- name: php7.4
image: php:7.4-cli
commands:
- curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar
- chmod +x /usr/local/bin/composer
- composer install
- composer run lint
- composer run cs:check
- composer run psalm:check
- name: nextcloud
image: nextcloud:27.0.0
commands:
- curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar
- chmod +x /usr/local/bin/composer
- composer install
- composer run lint
- composer run cs:check
- composer run psalm:check