Started implementing drone
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Abel Hoogeveen 2020-12-21 12:45:42 +01:00
parent 653a725461
commit c9d9d59b33
Signed by: abelhooge
GPG Key ID: 387E8DC1F73306FC
1 changed files with 38 additions and 0 deletions

38
.drone.yml Normal file
View File

@ -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