From b836c049fc718bc9a5c98c0bfa87abbc502b0b07 Mon Sep 17 00:00:00 2001 From: Thomas Schultz Date: Mon, 15 Aug 2016 16:10:24 -0400 Subject: [PATCH] Add branch config to .coveragerc. --- .travis.yml | 2 +- README.rst | 4 ++-- codecov.yml | 9 --------- tox.ini | 22 ---------------------- 4 files changed, 3 insertions(+), 34 deletions(-) delete mode 100644 codecov.yml diff --git a/.travis.yml b/.travis.yml index 6f1f870247e8..68313fc2f37f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.rst b/README.rst index dca3ebf74d0a..eafdc391d0ca 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index 2bfc815b8319..000000000000 --- a/codecov.yml +++ /dev/null @@ -1,9 +0,0 @@ -comment: false -coverage: - status: - patch: - default: - target: '100' - project: - default: - target: '100' diff --git a/tox.ini b/tox.ini index ae7245686e6b..203d9309ba1b 100644 --- a/tox.ini +++ b/tox.ini @@ -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