Add tox and setup config files.

This commit is contained in:
Yuxin Wang 2018-09-29 23:42:00 -04:00
parent 6f3e3fa1df
commit f09accc254
2 changed files with 9 additions and 0 deletions

2
setup.cfg Normal file
View file

@ -0,0 +1,2 @@
[tool:pytest]
addopts = -v -x --doctest-modules --ignore=setup.py --cov=p2pfs

7
tox.ini Normal file
View file

@ -0,0 +1,7 @@
[tox]
envlist = py27, py34, py35, py36, py37, pypy
[testenv]
passenv = PYTHONPATH
extras = test
commands = pytest tests/