diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-05-02 18:08:43 -0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-05-11 17:07:20 -0500 |
commit | f73ca1b77fd1b961181e2a0086a688ffac19603c (patch) | |
tree | 936c84a2017ed81a2e3cf914d52c3c4d7c30a172 /.drone.yml | |
parent | d83f1d96d4541e8e5a686be94b9c03ebb31f5f76 (diff) | |
download | nextcloud-server-f73ca1b77fd1b961181e2a0086a688ffac19603c.tar.gz nextcloud-server-f73ca1b77fd1b961181e2a0086a688ffac19603c.zip |
Add redis cluster tests to our CI jobs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index e5fda39f4ee..b313760a5d2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -526,6 +526,16 @@ pipeline: when: matrix: TEST: memcache-memcached + memcache-redis-cluster: + image: nextcloudci/php7.0:php7.0-7 + commands: + - ./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 +592,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 +630,11 @@ services: when: matrix: ENABLE_REDIS: true + cache-cluster: + image: grokzen/redis-cluster + when: + matrix: + ENABLE_REDIS_CLUSTER: true postgres: image: postgres environment: |