Skip to content

Commit

Permalink
Merge pull request #1876 from daspecster/switch-to-codecovio
Browse files Browse the repository at this point in the history
Switch to codecov.io
  • Loading branch information
daspecster authored Jul 14, 2016
2 parents bd6435a + 58cdf26 commit 1942f2d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ script:

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 @@ -286,8 +286,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://coveralls.io/repos/GoogleCloudPlatform/gcloud-python/badge.png?branch=master
:target: https://coveralls.io/r/GoogleCloudPlatform/gcloud-python?branch=master
.. |coverage| image:: https://codecov.io/gh/GoogleCloudPlatform/gcloud-python/branch/master/graph/badge.svg
:target: https://codecov.io/gh/GoogleCloudPlatform/gcloud-python
.. |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: 9 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
comment: false
coverage:
status:
patch:
default:
target: '100'
project:
default:
target: '100'
22 changes: 22 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,28 @@ setenv =
PYTHONPATH =
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 1942f2d

Please sign in to comment.