summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-12-20 21:11:00 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-12-21 20:55:42 +0100
commit7d5cd98c17bafd39bac7f29052b7308904861642 (patch)
tree0631d71d1eaf109541a33c2abdcc593575873125 /.drone.yml
parentd5036fd4af9cf29c666a526dfb03f7e261cbc951 (diff)
downloadnextcloud-server-7d5cd98c17bafd39bac7f29052b7308904861642.tar.gz
nextcloud-server-7d5cd98c17bafd39bac7f29052b7308904861642.zip
Add Memcached CI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 821062acc96..5634c496a6c 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -402,6 +402,17 @@ pipeline:
when:
matrix:
TESTS: db-codecov
+ memcache-memcached:
+ image: nextcloudci/php7.0-memcached:php7.0-memcached-6
+ commands:
+ - 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"
+ when:
+ matrix:
+ TEST: memcache-memcached
matrix:
include:
- TESTS: signed-off-check
@@ -440,6 +451,7 @@ matrix:
- TESTS: carddavtester
- TESTS: sqlite-php7.0-samba-native
- TESTS: sqlite-php7.0-samba-non-native
+ - TEST: memcache-memcached
- DB: NODB
PHP: 5.6
- DB: NODB