Skip to content

Commit

Permalink
Merge pull request #2103 from daspecster/add-branch-to-coveragerc
Browse files Browse the repository at this point in the history
Manually run tox -e cover to check for 100% test coverage.
  • Loading branch information
daspecster authored Aug 17, 2016
2 parents c211e5e + b836c04 commit d3fd524
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ script:
- tox -e py27
- tox -e py34
- tox -e lint
- tox -e cover
- tox -e system-tests
- tox -e system-tests3
- tox -e json-docs

after_success:
- tox -e coveralls
- tox -e codecov

deploy:
provider: pypi
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ Apache 2.0 - See `LICENSE`_ for more information.

.. |build| image:: https://travis-ci.org/GoogleCloudPlatform/gcloud-python.svg?branch=master
:target: https://travis-ci.org/GoogleCloudPlatform/gcloud-python
.. |coverage| image:: https://codecov.io/gh/GoogleCloudPlatform/gcloud-python/branch/master/graph/badge.svg
:target: https://codecov.io/gh/GoogleCloudPlatform/gcloud-python
.. |coverage| image:: https://coveralls.io/repos/GoogleCloudPlatform/gcloud-python/badge.png?branch=master
:target: https://coveralls.io/r/GoogleCloudPlatform/gcloud-python?branch=master
.. |pypi| image:: https://img.shields.io/pypi/v/gcloud.svg
:target: https://pypi.python.org/pypi/gcloud
.. |versions| image:: https://img.shields.io/pypi/pyversions/gcloud.svg
Expand Down
9 changes: 0 additions & 9 deletions codecov.yml

This file was deleted.

22 changes: 0 additions & 22 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -64,28 +64,6 @@ deps =
coveralls
passenv = {[testenv:system-tests]passenv}

[testenv:codecov]
basepython =
{[testenv:cover]basepython}
passenv =
CI
TRAVIS_BUILD_ID
TRAVIS
TRAVIS_BRANCH
TRAVIS_JOB_NUMBER
TRAVIS_PULL_REQUEST
TRAVIS_JOB_ID
TRAVIS_REPO_SLUG
TRAVIS_COMMIT
deps =
{[testenv:cover]deps}
codecov>=1.4.0
commands =
{[testenv:cover]commands}
codecov
setenv =
PYTHONPATH =

[testenv:docs]
basepython =
python2.7
Expand Down

0 comments on commit d3fd524

Please sign in to comment.