Add tox.ini

This commit is contained in:
Victor Stinner
2014-12-18 12:36:40 +01:00
parent 1d83d4acc4
commit c5d97b0dec
3 changed files with 13 additions and 2 deletions

View File

@@ -12,3 +12,4 @@ distribute-\d+.\d+.\d+.tar.gz$
build$
dist$
.*\.egg-info$
\.tox$

View File

@@ -1,6 +1,5 @@
# Release procedure:
# - run unit tests with python 3.3 in debug mode
# - run unit tests with python dev (3.5) in debug mode
# - run tox (to run runtests.py and run_aiotest.py)
# - maybe test examples
# - update version in setup.py
# - hg ci

11
tox.ini Normal file
View File

@@ -0,0 +1,11 @@
[tox]
envlist = py33,py34
[testenv]
deps=
aiotest
setenv =
PYTHONASYNCIODEBUG = 1
commands=
python runtests.py -r {posargs}
python run_aiotest.py -r {posargs}