summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-09-28 16:45:02 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-09-28 21:08:17 +0200
commitb85b6abda86b3dc238bcba9475ef73f142dc075b (patch)
tree99e0427e8efe9fbbc12c6824a005b8ae0dc2f268 /.drone.yml
parent19f94ac5f9d08b958602ab07848a5c22d183b027 (diff)
downloadnextcloud-server-b85b6abda86b3dc238bcba9475ef73f142dc075b.tar.gz
nextcloud-server-b85b6abda86b3dc238bcba9475ef73f142dc075b.zip
Add codecov
Allows coverage tracking using codecov Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 3e50be209b6..a3c3870dcdd 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -301,10 +301,21 @@ pipeline:
when:
matrix:
TESTS: integration-sharees-features
+ codecov:
+ image: nextcloudci/php7.0:php7.0-2
+ commands:
+ - TEST_SELECTION=NODB ./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: codecov
matrix:
include:
- TESTS: signed-off-check
+ - TESTS: codecov
- TESTS: integration-capabilities_features
- TESTS: integration-federation_features
- TESTS: integration-auth
@@ -369,4 +380,3 @@ services:
when:
matrix:
DB: mysql
-