Skip to content
Snippets Groups Projects
Commit e839b3bb authored by David Prévot's avatar David Prévot
Browse files

Run redis-server on background

parent c44d2359
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,8 @@ override_dh_auto_build:
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
memcached -d -u memcached
redis-server &
memcached -d -u memcache
redis-server --daemonize yes
phpunit -v
else
@echo "** tests disabled"
......
Test-Command: mkdir -p vendor && phpab -o vendor/autoload.php -t debian/autoload.tests.php.tpl Tests && memcached -d && redis-server & phpunit
Test-Command: mkdir -p vendor && phpab -o vendor/autoload.php -t debian/autoload.tests.php.tpl Tests && memcached -d -u memcache && redis-server --daemonize yes && phpunit
Restrictions: rw-build-tree
Depends: memcached,
php-memcache,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment