8000 [MRG+1] Enable codecov for coverage report (#8311) · paulha/scikit-learn@aa6a00a · GitHub
[go: up one dir, main page]

Skip to content

Commit aa6a00a

Browse files
rishikksh20paulha
authored andcommitted
[MRG+1] Enable codecov for coverage report (scikit-learn#8311)
* Replace coveralls from codecov for coverage report Replacing code coverage tool from coveralls to codecov. Issue: scikit-learn#8305 * Add codecov badge for coverage report Replace coveralls badge from codecov badge
1 parent 061c382 commit aa6a00a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
.. -*- mode: rst -*-
22
3-
|Travis|_ |AppVeyor|_ |Coveralls|_ |CircleCI|_ |Python27|_ |Python35|_ |PyPi|_ |DOI|_
3+
|Travis|_ |AppVeyor|_ |Codecov|_ |CircleCI|_ |Python27|_ |Python35|_ |PyPi|_ |DOI|_
44

55
.. |Travis| image:: https://api.travis-ci.org/scikit-learn/scikit-learn.svg?branch=master
66
.. _Travis: https://travis-ci.org/scikit-learn/scikit-learn
77

88
.. |AppVeyor| image:: https://ci.appveyor.com/api/projects/status/github/scikit-learn/scikit-learn?branch=master&svg=true
99
.. _AppVeyor: https://ci.appveyor.com/project/sklearn-ci/scikit-learn/history
1010

11-
.. |Coveralls| image:: https://coveralls.io/repos/scikit-learn/scikit-learn/badge.svg?branch=master&service=github
12-
.. _Coveralls: https://coveralls.io/r/scikit-learn/scikit-learn
11+
.. |Codecov| image:: https://codecov.io/github/scikit-learn/scikit-learn/badge.svg?branch=master&service=github
12+
.. _Codecov: https://codecov.io/github/scikit-learn/scikit-learn?branch=master
1313

1414
.. |CircleCI| image:: https://circleci.com/gh/scikit-learn/scikit-learn/tree/master.svg?style=shield&circle-token=:circle-token
1515
.. _CircleCI: https://circleci.com/gh/scikit-learn/scikit-learn

build_tools/travis/after_success.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
set -e
88

99
if [[ "$COVERAGE" == "true" ]]; then
10-
# Need to run coveralls from a git checkout, so we copy .coverage
10+
# Need to run codecov from a git checkout, so we copy .coverage
1111
# from TEST_DIR where nosetests has been run
1212
cp $TEST_DIR/.coverage $TRAVIS_BUILD_DIR
1313
cd $TRAVIS_BUILD_DIR
14-
# Ignore coveralls failures as the coveralls server is not
14+
# Ignore codecov failures as the codecov server is not
1515
# very reliable but we don't want travis to report a failure
1616
# in the github UI just because the coverage report failed to
1717
# be published.
18-
coveralls || echo "Coveralls upload failed"
18+
codecov || echo "codecov upload failed"
1919
fi

build_tools/travis/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ elif [[ "$DISTRIB" == "scipy-dev-wheels" ]]; then
9595
fi
9696

9797
if [[ "$COVERAGE" == "true" ]]; then
98-
pip install coverage coveralls
98+
pip install coverage codecov
9999
fi
100100

101101
if [[ "$SKIP_TESTS" == "true" ]]; then

0 commit comments

Comments
 (0)
0