diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1,12 +1,13 @@ [tox] minversion = 2.0 -envlist = py37,py27,pep8 +envlist = py37,pep8 skipsdist = True [testenv] usedevelop = True passenv = UPPER_CONSTRAINTS_FILE install_command = pip install -U {opts} {packages} +basepython = python3 setenv = VIRTUAL_ENV={envdir} LANG=en_US.UTF-8 @@ -23,7 +24,6 @@ commands = stestr run {posargs} stestr slowest [testenv:pep8] -basepython = python3 usedevelop = False skip_install = True deps = @@ -37,11 +37,9 @@ commands = flake8 os_client_config [testenv:venv] -basepython = python3 commands = {posargs} [testenv:cover] -basepython = python3 setenv = {[testenv]setenv} PYTHON=coverage run --source os_client_config --parallel-mode @@ -52,7 +50,6 @@ commands = coverage xml -o cover/coverage.xml [testenv:docs] -basepython = python3 skip_install = True deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} @@ -62,7 +59,6 @@ commands = sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html [testenv:releasenotes] -basepython = python3 skip_install = True deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} @@ -76,7 +72,6 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,releasenotes/source/con [testenv:lower-constraints] -basepython = python3 deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt |