From: Seth Michael Larson Date: Fri, 23 Aug 2019 12:00:13 +0000 (-0500) Subject: Rely on codecov for 100% project coverage (#264) X-Git-Tag: 0.7.2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46402dd59ff59e489fa952b3d6c42dc4b93a06b9;p=thirdparty%2Fhttpx.git Rely on codecov for 100% project coverage (#264) --- diff --git a/.travis.yml b/.travis.yml index c9513a73..07207f99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,5 +30,5 @@ script: after_script: - if [ -f .coverage ]; then python -m pip install codecov; - codecov; + codecov --required; fi diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..3920f5c1 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,8 @@ +coverage: + status: + patch: + default: + target: '100' + project: + default: + target: '100' diff --git a/setup.cfg b/setup.cfg index feb7f5a7..3077d460 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,4 +16,4 @@ line_length = 88 multi_line_output = 3 [tool:pytest] -addopts = --cov=httpx --cov=tests --cov-report=term-missing --cov-fail-under=100 +addopts = --cov=httpx --cov=tests --cov-report=term-missing