35 lines
602 B
INI
35 lines
602 B
INI
[tox]
|
|
envlist = py27,py35
|
|
minversion = 2.3
|
|
skipsdist = True
|
|
stxdir = {toxinidir}/../../../
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
OS_STDOUT_CAPTURE=1
|
|
OS_STDERR_CAPTURE=1
|
|
OS_TEST_TIMEOUT=60
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
-e{[tox]stxdir}/config/tsconfig/tsconfig
|
|
|
|
[testenv:venv]
|
|
basepython = python3
|
|
commands = {posargs}
|
|
|
|
[testenv:py27]
|
|
basepython = python2.7
|
|
commands =
|
|
stestr run {posargs}
|
|
stestr slowest
|
|
|
|
[testenv:py35]
|
|
basepython = python3.5
|
|
commands =
|
|
stestr run {posargs}
|
|
stestr slowest
|
|
|
|
|
|
|
|
|