Skip to content

Commit

Permalink
Merge pull request #734 from nextcloud/codecov-uploader-update
Browse files Browse the repository at this point in the history
codecov: Use new codecov uploader instead of deprecated bash uploader
  • Loading branch information
tobiasKaminsky authored Oct 21, 2021
2 parents 2a101f4 + f9a09a7 commit f8616af
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ steps:
- ./gradlew installDebugAndroidTest
- ./gradlew createDebugCoverageReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "master" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- ./gradlew combinedTestReport
- curl -o codecov.sh https://codecov.io/bash
- bash ./codecov.sh -t 2eec98c3-ff20-4cad-9e08-463471a33431
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
- ./codecov -t 2eec98c3-ff20-4cad-9e08-463471a33431

- name: notify
image: drillster/drone-email
Expand Down Expand Up @@ -158,8 +159,9 @@ steps:
- ./gradlew installDebugAndroidTest
- ./gradlew createDebugCoverageReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- ./gradlew combinedTestReport
- curl -o codecov.sh https://codecov.io/bash
- bash ./codecov.sh -t 2eec98c3-ff20-4cad-9e08-463471a33431
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
- ./codecov -t 2eec98c3-ff20-4cad-9e08-463471a33431

- name: notify
image: drillster/drone-email
Expand Down

0 comments on commit f8616af

Please sign in to comment.