mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
always use py.test
This commit is contained in:
parent
f2e3e6af6d
commit
eaf66550b0
10
.coveragerc
10
.coveragerc
@ -1,3 +1,11 @@
|
||||
[run]
|
||||
branch = True
|
||||
|
||||
[report]
|
||||
omit = *contrib*
|
||||
show_missing = True
|
||||
include = *netlib/netlib*
|
||||
exclude_lines =
|
||||
pragma: nocover
|
||||
pragma: no cover
|
||||
raise NotImplementedError()
|
||||
omit = *contrib*
|
||||
|
@ -36,6 +36,7 @@ matrix:
|
||||
# We allow pypy to fail until Travis fixes their infrastructure to a pypy
|
||||
# with a recent enought CFFI library to run cryptography 1.0+.
|
||||
- python: pypy
|
||||
- python: pypy3
|
||||
|
||||
install:
|
||||
- "pip install --src . -r requirements.txt"
|
||||
@ -44,7 +45,7 @@ before_script:
|
||||
- "openssl version -a"
|
||||
|
||||
script:
|
||||
- "nosetests --with-cov --cov-report term-missing"
|
||||
- "py.test -n 4 --cov netlib"
|
||||
|
||||
after_success:
|
||||
- coveralls
|
||||
|
Loading…
Reference in New Issue
Block a user