diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000000..107f6c7aa9 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,8 @@ +comment: off +coverage: + status: + patch: false + project: + default: + target: 85% + threshold: 10% 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