From d083a072c7110a4139be1a97811930d2259e0b75 Mon Sep 17 00:00:00 2001 From: stu Date: Mon, 26 Sep 2016 17:05:26 -0400 Subject: [PATCH 1/3] removed git commit from codecov call --- scripts/jenkins-report.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/jenkins-report.sh b/scripts/jenkins-report.sh index a960712904..e1dd779505 100755 --- a/scripts/jenkins-report.sh +++ b/scripts/jenkins-report.sh @@ -23,12 +23,10 @@ source scripts/jenkins-common.sh # Get the diff coverage and html reports for unit tests paver coverage -# Send the coverage data to codecov. Setting the 'COMMMIT' allows the data -# to be sorted by a branch in the codecov UI. The branch is passed as a -# param to the coverage job on Jenkins. The 'CODE_COV_TOKEN' should be +# Send the coverage data to codecov. The 'CODE_COV_TOKEN' should be # available as an environment variable. pip install codecov==2.0.5 -codecov --token=$CODE_COV_TOKEN --commit=$COMMIT +codecov --token=$CODE_COV_TOKEN # THIS BLOCK WILL BE REMOVED # Send the coverage data to coveralls. Setting 'TRAVIS_BRANCH' allows the From 8513072cf202860b79e23c68f082ace091a0dbc1 Mon Sep 17 00:00:00 2001 From: stu Date: Tue, 27 Sep 2016 15:06:54 -0400 Subject: [PATCH 2/3] add codecov.yml for project only --- codecov.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000000..79f2d221b3 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,6 @@ +comment: off +coverage: + status: + project: + default: + target: auto From 67dd0805ab053b9ab0ea446135b475617680ba48 Mon Sep 17 00:00:00 2001 From: stu Date: Tue, 27 Sep 2016 17:30:35 -0400 Subject: [PATCH 3/3] adjust codecov threshold --- codecov.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 79f2d221b3..107f6c7aa9 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,6 +1,8 @@ comment: off coverage: status: + patch: false project: default: - target: auto + target: 85% + threshold: 10%