Add Memcached CI

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2016-12-20 21:11:00 +01:00
parent d5036fd4af
commit 7d5cd98c17
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 12 additions and 0 deletions

View File

@ -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