From 4c93d3a4c79ec78bfee062ebeb7b85d9568c0eb8 Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 10 Dec 2019 23:13:56 +0800 Subject: [PATCH] Fix the path for circleci --- trunk/auto/coverage.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/trunk/auto/coverage.sh b/trunk/auto/coverage.sh index 32d2f57a0..cb7bee86a 100644 --- a/trunk/auto/coverage.sh +++ b/trunk/auto/coverage.sh @@ -29,7 +29,8 @@ ret=$?; if [[ $ret -ne 0 ]]; then echo "Cook gcov files failed, ret=$ret"; exit # Upload report with *.gcov cd $workdir && -cp ../../../.circleci/codecov.yml . && -export CODECOV_TOKEN="493bba46-c468-4e73-8b45-8cdd8ff62d96" && -bash <(curl -s https://codecov.io/bash) +rm -f t.sh && curl -s https://codecov.io/bash -o t.sh && +bash t.sh -y ../../../.circleci/codecov.yml -t 493bba46-c468-4e73-8b45-8cdd8ff62d96 +ret=$?; if [[ $ret -ne 0 ]]; then echo "Upload report failed, ret=$ret"; exit $ret; fi + exit 0