summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-11-16 12:43:38 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-01-02 14:17:19 +0100
commitac2542f0f074cc7ec0f5ffdc6970a9981a4fac02 (patch)
tree93747e5dff6059e52d664ea2c0c18496db001d90 /.drone.yml
parent17d2b25ad4c8ec75dfe0ecd0a2d84cd7b5e4f89b (diff)
downloadnextcloud-server-ac2542f0f074cc7ec0f5ffdc6970a9981a4fac02.tar.gz
nextcloud-server-ac2542f0f074cc7ec0f5ffdc6970a9981a4fac02.zip
add ci support for s3 object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 20f6575f37f..0fec56bd8e7 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -415,6 +415,16 @@ pipeline:
when:
matrix:
TESTS: db-codecov
+ object-store:
+ image: nextcloudci/php7.0:php7.0-7
+ commands:
+ - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./autotest.sh sqlite
+ - 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:
+ TESTS: object-store
memcache-memcached:
image: nextcloudci/php7.0-memcached:php7.0-memcached-6
commands:
@@ -462,6 +472,8 @@ matrix:
- TESTS: litmus-v2
- TESTS: caldavtester
- TESTS: carddavtester
+ - TESTS: object-store
+ OBJECT_STORE: s3
- TESTS: sqlite-php7.0-samba-native
- TESTS: sqlite-php7.0-samba-non-native
- TEST: memcache-memcached
@@ -517,3 +529,8 @@ services:
when:
matrix:
DB: mysqlmb4
+ fake-s3:
+ image: lphoward/fake-s3
+ when:
+ matrix:
+ OBJECT_STORE: s3