Skip to content

Commit d3fd524

Browse files
authored
Merge pull request #2103 from daspecster/add-branch-to-coveragerc
Manually run tox -e cover to check for 100% test coverage.
2 parents c211e5e + b836c04 commit d3fd524

File tree

4 files changed

+3
-34
lines changed

4 files changed

+3
-34
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ script:
99
- tox -e py27
1010
- tox -e py34
1111
- tox -e lint
12+
- tox -e cover
1213
- tox -e system-tests
1314
- tox -e system-tests3
1415
- tox -e json-docs
1516

1617
after_success:
1718
- tox -e coveralls
18-
- tox -e codecov
1919

2020
deploy:
2121
provider: pypi

README.rst

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

327327
.. |build| image:: https://travis-ci.org/GoogleCloudPlatform/gcloud-python.svg?branch=master
328328
:target: https://travis-ci.org/GoogleCloudPlatform/gcloud-python
329-
.. |coverage| image:: https://codecov.io/gh/GoogleCloudPlatform/gcloud-python/branch/master/graph/badge.svg
330-
:target: https://codecov.io/gh/GoogleCloudPlatform/gcloud-python
329+
.. |coverage| image:: https://coveralls.io/repos/GoogleCloudPlatform/gcloud-python/badge.png?branch=master
330+
:target: https://coveralls.io/r/GoogleCloudPlatform/gcloud-python?branch=master
331331
.. |pypi| image:: https://img.shields.io/pypi/v/gcloud.svg
332332
:target: https://pypi.python.org/pypi/gcloud
333333
.. |versions| image:: https://img.shields.io/pypi/pyversions/gcloud.svg

codecov.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

tox.ini

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -64,28 +64,6 @@ deps =
6464
coveralls
6565
passenv = {[testenv:system-tests]passenv}
6666

67-
[testenv:codecov]
68-
basepython =
69-
{[testenv:cover]basepython}
70-
passenv =
71-
CI
72-
TRAVIS_BUILD_ID
73-
TRAVIS
74-
TRAVIS_BRANCH
75-
TRAVIS_JOB_NUMBER
76-
TRAVIS_PULL_REQUEST
77-
TRAVIS_JOB_ID
78-
TRAVIS_REPO_SLUG
79-
TRAVIS_COMMIT
80-
deps =
81-
{[testenv:cover]deps}
82-
codecov>=1.4.0
83-
commands =
84-
{[testenv:cover]commands}
85-
codecov
86-
setenv =
87-
PYTHONPATH =
88-
8967
[testenv:docs]
9068
basepython =
9169
python2.7

0 commit comments

Comments
 (0)