summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-02 17:16:19 -0300
committerGitHub <noreply@github.com>2017-05-02 17:16:19 -0300
commitf233e856bfd0d338b3b6b8e0af637ff794b0fb7f (patch)
tree56c9c75afcd2ee8e5385cfbf91dfe852aaa52a73 /tests
parent24ff230f938bb9c47bbd75a133af84314b42aca7 (diff)
parentecb369b5e81fb1a7ba3a91599dd70e907226aa88 (diff)
downloadnextcloud-server-f233e856bfd0d338b3b6b8e0af637ff794b0fb7f.tar.gz
nextcloud-server-f233e856bfd0d338b3b6b8e0af637ff794b0fb7f.zip
Merge pull request #4665 from nextcloud/enable-redis
Add redis support to our CI jobs
Diffstat (limited to 'tests')
-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,
+ ],
+];