Abel Hoogeveen
d9da4cfc95
All checks were successful
continuous-integration/drone/push Build is passing
22 lines
454 B
YAML
22 lines
454 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: test
|
|
|
|
services:
|
|
- name: cache
|
|
image: redis
|
|
|
|
steps:
|
|
- name: composer
|
|
image: composer:latest
|
|
commands:
|
|
- composer install
|
|
|
|
- name: redistest
|
|
image: phpunit:7.3
|
|
commands:
|
|
- vendor/bin/phpunit -c test/phpunit.xml --coverage-php test/temp/covredis.cov
|
|
environment:
|
|
SUPERVISOR_TYPE: ParallelSuperVisor
|
|
TASKSTORAGE_TYPE: RedisTaskStorage
|
|
TASKSTORAGE_REDIS_HOST: cache |