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