summaryrefslogtreecommitdiffstats
path: root/tests/redis.config.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-02 12:44:54 -0300
committerMorris Jobke <hey@morrisjobke.de>2017-05-02 15:55:42 -0300
commitecb369b5e81fb1a7ba3a91599dd70e907226aa88 (patch)
tree7d96b14795896f817ca96ea8a02d76255c070461 /tests/redis.config.php
parent705483e7123e2e2da6421d7f02c4a5b899cade3d (diff)
downloadnextcloud-server-ecb369b5e81fb1a7ba3a91599dd70e907226aa88.tar.gz
nextcloud-server-ecb369b5e81fb1a7ba3a91599dd70e907226aa88.zip
Add redis support to our CI jobs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/redis.config.php')
-rw-r--r--tests/redis.config.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/redis.config.php b/tests/redis.config.php
new file mode 100644
index 00000000000..2ff46ec6728
--- /dev/null
+++ b/tests/redis.config.php
@@ -0,0 +1,12 @@
+<?php
+
+$CONFIG = [
+ 'memcache.local' => '\\OC\\Memcache\\Redis',
+ 'memcache.distributed' => '\\OC\\Memcache\\Redis',
+ 'memcache.locking' => '\\OC\\Memcache\\Redis',
+ 'redis' => [
+ 'host' => 'localhost',
+ 'port' => 6379,
+ 'timeout' => 0,
+ ],
+];