diff options
author | acsfer <carlos@reendex.com> | 2021-11-26 12:02:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-26 12:02:51 +0100 |
commit | 6f06b0f4f718dc331d0bcb74ace66dd4128d1bd7 (patch) | |
tree | 1abed2c034f5bc09a0b4459450842533947f357f /.drone.yml | |
parent | a816fdd1d08436a48fd88c6a638f4bc8aa45fbf8 (diff) | |
download | nextcloud-server-6f06b0f4f718dc331d0bcb74ace66dd4128d1bd7.tar.gz nextcloud-server-6f06b0f4f718dc331d0bcb74ace66dd4128d1bd7.zip |
Reintroduce memcached
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index 79d6c2124ed..c01f4188a93 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1932,3 +1932,30 @@ trigger: event: - pull_request - push + +--- +kind: pipeline +name: memcache-memcached + +steps: +- name: submodules + image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest + commands: + - git submodule update --init +- name: memcache-memcached + image: nextcloudci/php7.3-memcached:php7.3-memcached-3 + commands: + - phpenmod xdebug + - service memcached restart + - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.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" + +trigger: + branch: + - master + - stable* + event: + - pull_request + - push |