From 6f06b0f4f718dc331d0bcb74ace66dd4128d1bd7 Mon Sep 17 00:00:00 2001 From: acsfer Date: Fri, 26 Nov 2021 12:02:51 +0100 Subject: Reintroduce memcached --- .drone.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to '.drone.yml') 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 -- cgit v1.2.3