Automate testing with tox

This commit is contained in:
Christian Heimes 2015-07-15 14:42:48 +02:00
parent e0aeb224a9
commit d636b153fe
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
.*.swp
*.pyc
__pycache__/
.tox
# Build related
*.egg-info

13
tox.ini Normal file
View File

@ -0,0 +1,13 @@
[tox]
envlist = py27,py34
[testenv]
changedir={toxinidir}/Tests
commands =
{envpython} {toxinidir}/Tests/t_ldapurl.py
{envpython} {toxinidir}/Tests/t_cext.py
{envpython} {toxinidir}/Tests/t_search.py
{envpython} {toxinidir}/Tests/Lib/ldap/schema/test_tokenizer.py
{envpython} {toxinidir}/Tests/Lib/ldap/test_modlist.py
{envpython} {toxinidir}/Tests/Lib/test_ldapurl.py