Async/.drone.yml
Abel Hoogeveen 4639660640
All checks were successful
continuous-integration/drone/push Build is passing
Added separate environments for DummyTaskStorage and RedisTaskStorage.
System now uses environment variables imported through Docker. See test/config.tasks.php for all environment options available.
2020-05-15 21:19:35 +02:00

27 lines
510 B
YAML

kind: pipeline
type: docker
name: test
services:
- name: cache
image: redis
steps:
- name: composer
image: composer:latest
commands:
- composer install
- name: basetest
image: phpunit:7.3
commands:
- vendor/bin/phpunit -c test/phpunit.xml
- name: redistest
image: phpunit:7.3
commands:
- vendor/bin/phpunit -c test/phpunit.xml
environment:
SUPERVISOR: ParallelSuperVisor
TASKSTORAGE: RedisTaskStorage
TASKSTORAGE_REDIS_HOST: cache