1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py27,py35,py36,py37
setenv =
PYTHONPATH = C:\python34
PATH = C:\python34;C:\python34\Scripts
[testenv]
deps=nose # "pytest" or "nose"
coverage
commands=nosetests # "py.test" or "nosetests"
[testenv:py27]
basepython=C:\python27\python.exe
[testenv:py35]
basepython=D:\Python35\python.exe
[testenv:py36]
basepython=D:\TOX\Python36\python.exe
[testenv:py37]
basepython=D:\Python37\python.exe
[testenv:pypy3]
basepython=D:\TOX\pypy3-2.4.0-win32\pypy.exe
[testenv:pypy]
basepython=D:\TOX\pypy-2.6.0-win32\pypy.exe
|