From b6562cb3864f26b82f70665112a8ca01628ce1c4 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 8 Nov 2016 20:42:51 +0100 Subject: Generate js codecov coverage Signed-off-by: Roeland Jago Douma --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml index e260ae37c40..d6b36097b96 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,9 @@ pipeline: image: nextcloudci/jsunit:jsunit-5 commands: - ./autotest-js.sh + - curl -o codecov.sh https://codecov.io/bash + - 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; 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; fi" when: matrix: TESTS: jsunit -- cgit v1.2.3