From e562c757f69bd274cf7c281b105637dbfa4739c6 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 18 Jun 2023 01:59:45 +0200 Subject: [PATCH] Add CI --- .drone.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..714408d --- /dev/null +++ b/.drone.yml @@ -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