From 43671e723ff9cc783b21d447b448d661ce28734a Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 20 Mar 2016 19:39:02 +0100 Subject: [PATCH] py.test: disable coverage collection by default --- .appveyor.yml | 2 +- .travis.yml | 2 +- setup.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 805be7e7e..75cf6e0ac 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -17,7 +17,7 @@ install: - "dev.bat" - "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\"" test_script: - - "py.test" + - "py.test --cov netlib --cov mitmproxy --cov pathod" cache: - C:\Users\appveyor\AppData\Local\pip\cache deploy_script: diff --git a/.travis.yml b/.travis.yml index d0e5e62d1..113fda090 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,7 +46,7 @@ before_script: - "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\"" script: - - "py.test ./test/$SCOPE" + - "py.test --cov netlib --cov mitmproxy --cov pathod ./test/$SCOPE" after_success: - coveralls diff --git a/setup.cfg b/setup.cfg index ccd62228f..96b23026c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,7 +9,7 @@ ignore = E251 [pytest] testpaths = test -addopts = --timeout 30 -s --cov netlib --cov mitmproxy --cov pathod +addopts = --timeout 30 -s [coverage:run] branch = True