Use only py3 as base

Change-Id: I17d1638ca9211cd833fe69344b5f29cacce2c441
This commit is contained in:
Eyal 2019-12-29 13:10:45 +02:00
parent d5f6909995
commit 0950c76236
1 changed files with 3 additions and 8 deletions

11
tox.ini
View File

@ -1,9 +1,10 @@
[tox]
minversion = 2.0
envlist = py37,py36,py27,pep8
minversion = 2.3.1
envlist = py37,pep8
skipsdist = True
[testenv]
basepython = python3
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages}
setenv =
@ -16,15 +17,12 @@ deps = -r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
[testenv:pep8]
basepython = python3
commands = flake8 {posargs}
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:cover]
basepython = python3
setenv =
VIRTUAL_ENV={envdir}
PYTHON=coverage run --source virtage_tempest_plugin --parallel-mode
@ -35,16 +33,13 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
[testenv:releasenotes]
basepython = python3
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:debug]
basepython = python3
commands = oslo_debug_helper {posargs}
[flake8]