From c9d9d59b33b7c6a2fdfa90b995335b079725afd0 Mon Sep 17 00:00:00 2001 From: Abel Hoogeveen Date: Mon, 21 Dec 2020 12:45:42 +0100 Subject: [PATCH] Started implementing drone --- .drone.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..cc658b5 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,38 @@ +kind: pipeline +type: docker +name: test + +services: + - name: cache + image: redis + +steps: + - name: composer + image: composer:latest + commands: + - composer install + + - name: dummyprovidertest + image: registry.i15.nl/i15/fuzephp:7.4-alpine + commands: + - docker-php-ext-enable xdebug + - vendor/bin/phpunit -c test/phpunit.xml + environment: + OBJECTSTORAGE_PROVIDER: DummyProvider + + - name: fileprovidertest + image: registry.i15.nl/i15/fuzephp:7.4-alpine + commands: + - docker-php-ext-enable xdebug + - vendor/bin/phpunit -c test/phpunit.xml + environment: + OBJECTSTORAGE_PROVIDER: FileProvider + + - name: redisprovidertest + image: registry.i15.nl/i15/fuzephp:7.4-alpine + commands: + - docker-php-ext-enable xdebug + - vendor/bin/phpunit -c test/phpunit.xml + environment: + OBJECTSTORAGE_PROVIDER: RedisProvider + OBJECTSTORAGE_REDIS_HOST: cache \ No newline at end of file