Fix redis-cluster support on drone

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-08-09 14:29:42 +02:00
parent 2e115921a0
commit d9301a5b07
1 changed files with 3 additions and 4 deletions

View File

@ -523,7 +523,6 @@ pipeline:
memcache-redis-cluster: memcache-redis-cluster:
image: nextcloudci/php7.0:php7.0-7 image: nextcloudci/php7.0:php7.0-7
commands: commands:
- sleep 10
- ./autotest.sh sqlite tests/lib/Memcache/RedisTest.php - ./autotest.sh sqlite tests/lib/Memcache/RedisTest.php
- wget https://codecov.io/bash -O codecov.sh - 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 -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
@ -587,8 +586,8 @@ matrix:
- TESTS: sqlite-php7.0-samba-native - TESTS: sqlite-php7.0-samba-native
- TESTS: sqlite-php7.0-samba-non-native - TESTS: sqlite-php7.0-samba-non-native
- TEST: memcache-memcached - TEST: memcache-memcached
# - TEST: memcache-redis-cluster - TEST: memcache-redis-cluster
# ENABLE_REDIS_CLUSTER: true ENABLE_REDIS_CLUSTER: true
- TESTS: sqlite-php7.0-webdav-apache - TESTS: sqlite-php7.0-webdav-apache
ENABLE_REDIS: true ENABLE_REDIS: true
- DB: NODB - DB: NODB
@ -626,7 +625,7 @@ services:
matrix: matrix:
ENABLE_REDIS: true ENABLE_REDIS: true
cache-cluster: cache-cluster:
image: grokzen/redis-cluster image: morrisjobke/redis-cluster
when: when:
matrix: matrix:
ENABLE_REDIS_CLUSTER: true ENABLE_REDIS_CLUSTER: true