[tox] envlist = py26, py27, py32, py33, py34 [testenv] deps = pytest>=2.3.5 pytest-cache # docopt for sith doctests docopt # coloroma for colored debug output colorama commands = py.test [] [testenv:py26] deps = unittest2 {[testenv]deps} [testenv:cov] deps = coverage {[testenv]deps} commands = coverage run --source jedi -m py.test coverage report [testenv:sith] commands = {envpython} -c "import os; a='{envtmpdir}'; os.path.exists(a) or os.makedirs(a)" {envpython} sith.py --record {envtmpdir}/record.json random {posargs:jedi}