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 @@ -66,7 +66,7 @@ test-coverage:
6666
6767.PHONY : upload-coverage-report
6868upload-coverage-report : test-coverage
69- ./scripts/codecov_upload.sh
69+ COVERDIR=covdir ./scripts/codecov_upload.sh
7070
7171.PHONY : fuzz
7272fuzz :
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
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.
54
65set -o pipefail
76
87# 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