always use py.test

This commit is contained in:
Maximilian Hils 2015-09-21 01:08:19 +02:00
parent f2e3e6af6d
commit eaf66550b0
3 changed files with 12 additions and 2 deletions

View File

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

View File

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

View File

@ -59,6 +59,7 @@ setup(
"mock>=1.0.1",
"pytest>=2.8.0",
"pytest-xdist>=1.13.1",
"pytest-cov>=2.1.0",
"nose>=1.3.0",
"nose-cov>=1.6",
"coveralls>=0.4.1",