summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-16 10:10:25 -0500
committerGitHub <noreply@github.com>2017-05-16 10:10:25 -0500
commit78e6c2dea417f17db52648f6819ab20889e2554c (patch)
tree2c64ca14e90a276338e41fc76061b90854c48c61 /.drone.yml
parent15f7fe022b222cdc080719d8585df29c8259053a (diff)
parent0e66c2a38aa86df2b6a1273b0cf4ad95485ce6e7 (diff)
downloadnextcloud-server-78e6c2dea417f17db52648f6819ab20889e2554c.tar.gz
nextcloud-server-78e6c2dea417f17db52648f6819ab20889e2554c.zip
Merge pull request #4666 from nextcloud/enable-redis-cluster
Add redis cluster tests to our CI jobs
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 2080de5a123..f26e5d3f870 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -526,6 +526,17 @@ pipeline:
when:
matrix:
TEST: memcache-memcached
+ memcache-redis-cluster:
+ image: nextcloudci/php7.0:php7.0-7
+ commands:
+ - sleep 10
+ - ./autotest.sh sqlite tests/lib/Memcache/RedisTest.php
+ - wget https://codecov.io/bash -O codecov.sh
+ - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
+ - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
+ when:
+ matrix:
+ TEST: memcache-redis-cluster
matrix:
include:
- TESTS: checkers
@@ -582,6 +593,8 @@ matrix:
- TESTS: sqlite-php7.0-samba-native
- TESTS: sqlite-php7.0-samba-non-native
- TEST: memcache-memcached
+ - TEST: memcache-redis-cluster
+ ENABLE_REDIS_CLUSTER: true
- TESTS: sqlite-php7.0-webdav-apache
ENABLE_REDIS: true
- DB: NODB
@@ -618,6 +631,11 @@ services:
when:
matrix:
ENABLE_REDIS: true
+ cache-cluster:
+ image: grokzen/redis-cluster
+ when:
+ matrix:
+ ENABLE_REDIS_CLUSTER: true
postgres:
image: postgres
environment: