From c83d4ccaad63dc1e59b7bee43c5843e39c30cb3d Mon Sep 17 00:00:00 2001 From: Louis DUFOUR Date: Fri, 15 Sep 2023 14:21:30 +0200 Subject: [PATCH] Ajouter '.drone.yml' --- .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..88e48de --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +kind: pipeline +type: docker +name: projetDeCédric + +image: php:8.0 + +cache: + paths: + - vendor/ + +before_script: + - apt-get update -yqq + - apt-get install -yqq git unzip + - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" + - php composer-setup.php --install-dir=/usr/local/bin --filename=composer + - composer install --prefer-dist --no-ansi --no-interaction --no-progress + +stages: + - test + +run_tests: + stage: test + script: + - vendor/bin/phpunit common/Tests