Abel Hoogeveen
c9d9d59b33
Some checks reported errors
continuous-integration/drone/push Build encountered an error
38 lines
925 B
YAML
38 lines
925 B
YAML
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 |