Add tox configuration

This commit is contained in:
Gergely Polonkai 2017-01-16 11:42:08 +01:00
parent 4105934142
commit e8af7e15a6
2 changed files with 11 additions and 0 deletions

3
.gitignore vendored
View File

@ -3,3 +3,6 @@
__pycache__/
*.pyc
/Flask_Logging_Extras.egg-info/
/.tox/
.coverage
/htmlcov/

8
tox.ini Normal file
View File

@ -0,0 +1,8 @@
[tox]
envlist = py27, py33, py34, py35, py36
[testenv]
commands =
coverage run --source flask_logging_extras/ -m unittest discover --start-directory tests
coverage report -m
deps = coverage