Merge pull request #13575 from edx/estute/remove-commit-from-codecov-command

removed git commit from codecov call
This commit is contained in:
Stu Young
2016-09-28 11:51:15 -04:00
committed by GitHub
2 changed files with 10 additions and 4 deletions

8
codecov.yml Normal file
View File

@@ -0,0 +1,8 @@
comment: off
coverage:
status:
patch: false
project:
default:
target: 85%
threshold: 10%

View File

@@ -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