Skip to content

Commit 1942f2d

Browse files
authored
Merge pull request #1876 from daspecster/switch-to-codecovio
Switch to codecov.io
2 parents bd6435a + 58cdf26 commit 1942f2d

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ script:
1616

1717
after_success:
1818
- tox -e coveralls
19+
- tox -e codecov
1920

2021
deploy:
2122
provider: pypi

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ Apache 2.0 - See `LICENSE`_ for more information.
286286

287287
.. |build| image:: https://travis-ci.org/GoogleCloudPlatform/gcloud-python.svg?branch=master
288288
:target: https://travis-ci.org/GoogleCloudPlatform/gcloud-python
289-
.. |coverage| image:: https://coveralls.io/repos/GoogleCloudPlatform/gcloud-python/badge.png?branch=master
290-
:target: https://coveralls.io/r/GoogleCloudPlatform/gcloud-python?branch=master
289+
.. |coverage| image:: https://codecov.io/gh/GoogleCloudPlatform/gcloud-python/branch/master/graph/badge.svg
290+
:target: https://codecov.io/gh/GoogleCloudPlatform/gcloud-python
291291
.. |pypi| image:: https://img.shields.io/pypi/v/gcloud.svg
292292
:target: https://pypi.python.org/pypi/gcloud
293293
.. |versions| image:: https://img.shields.io/pypi/pyversions/gcloud.svg

codecov.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
comment: false
2+
coverage:
3+
status:
4+
patch:
5+
default:
6+
target: '100'
7+
project:
8+
default:
9+
target: '100'

tox.ini

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,28 @@ setenv =
7575
PYTHONPATH =
7676
passenv = {[testenv:system-tests]passenv}
7777

78+
[testenv:codecov]
79+
basepython =
80+
{[testenv:cover]basepython}
81+
passenv =
82+
CI
83+
TRAVIS_BUILD_ID
84+
TRAVIS
85+
TRAVIS_BRANCH
86+
TRAVIS_JOB_NUMBER
87+
TRAVIS_PULL_REQUEST
88+
TRAVIS_JOB_ID
89+
TRAVIS_REPO_SLUG
90+
TRAVIS_COMMIT
91+
deps =
92+
{[testenv:cover]deps}
93+
codecov>=1.4.0
94+
commands =
95+
{[testenv:cover]commands}
96+
codecov
97+
setenv =
98+
PYTHONPATH =
99+
78100
[testenv:docs]
79101
basepython =
80102
python2.7

0 commit comments

Comments
 (0)