File tree Expand file tree Collapse file tree 3 files changed +13
-38
lines changed Expand file tree Collapse file tree 3 files changed +13
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ test-coverage:
64
64
65
65
.PHONY : upload-coverage-report
66
66
upload-coverage-report : test-coverage
67
- ./scripts/codecov_upload.sh
67
+ COVERDIR=covdir ./scripts/codecov_upload.sh
68
68
69
69
.PHONY : fuzz
70
70
fuzz :
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- # Script used to collect and upload test coverage (mostly by travis).
4
- # Usage ./test_coverage_upload.sh [log_file]
3
+ # Script used to collect and upload test coverage.
5
4
6
5
set -o pipefail
7
6
8
7
# We try to upload whatever we have:
9
- bash <( curl -s https://codecov.io/bash) -f ./covdir/all.coverprofile -cF all
8
+ mkdir -p bin
9
+ curl -sf -o ./bin/codecov.sh https://codecov.io/bash
10
+
11
+ bash ./bin/codecov.sh -f " ${COVERDIR} /all.coverprofile" \
12
+ -cF all \
13
+ -C " ${PULL_PULL_SHA} " \
14
+ -r " ${REPO_OWNER} /${REPO_NAME} " \
15
+ -P " ${PULL_NUMBER} " \
16
+ -b " ${BUILD_ID} " \
17
+ -B " ${PULL_BASE_REF} " \
18
+ -N " ${PULL_BASE_SHA} "
You can’t perform that action at this time.
0 commit comments