Stop testing python2.7

Train was the last release supporting python2. Let's rip the bandaid
off.

Change-Id: I46c79ce87f474a986f1983fa9164e6e4cbeaf8de
This commit is contained in:
xuanyandong 2019-10-28 17:13:33 +08:00
parent 0558b20f5a
commit 4dc360313c
3 changed files with 2 additions and 7 deletions

View File

@ -15,8 +15,6 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7

View File

@ -1,9 +1,10 @@
[tox]
minversion = 2.0
skipsdist = True
envlist = py27,py37,pep8
envlist = py37,pep8
[testenv]
basepython = python3
usedevelop = True
install_command = pip install {opts} {packages}
deps =
@ -17,11 +18,9 @@ commands =
sitepackages = True
[testenv:pep8]
basepython = python3
commands = flake8
[testenv:cover]
basepython = python3
setenv =
PYTHON=coverage run --source os_collect_config --parallel-mode
commands =
@ -31,7 +30,6 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:venv]
basepython = python3
commands = {posargs}
[flake8]

View File

@ -2,7 +2,6 @@
templates:
- check-requirements
- openstack-cover-jobs
- openstack-python-jobs
- openstack-python3-ussuri-jobs
- tripleo-multinode-container-minimal