py.test: disable coverage collection by default

This commit is contained in:
Maximilian Hils 2016-03-20 19:39:02 +01:00
parent 61a657fe56
commit 43671e723f
3 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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

View File

@ -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