Remove python 2.7 from tox configuration
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
989a9c2565
commit
af10ab312b
3 changed files with 2 additions and 20 deletions
17
tox.ini
17
tox.ini
|
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = bandit, flake8, black, py27, py3
|
||||
envlist = bandit, flake8, black, py3
|
||||
|
||||
[testenv:flake8]
|
||||
deps =
|
||||
|
|
@ -26,21 +26,6 @@ commands =
|
|||
{[testenv:flake8]commands}
|
||||
black --check --diff pungi pungi_utils setup.py tests --exclude tests/_composes
|
||||
|
||||
[testenv:py27]
|
||||
sitepackages = true
|
||||
deps =
|
||||
-rrequirements.txt
|
||||
-rtest-requirements.txt
|
||||
allowlist_externals =
|
||||
sh
|
||||
make
|
||||
coverage
|
||||
commands =
|
||||
sh -c 'find . -name "*.pyc" -exec rm -f \{\} +'
|
||||
pip install --force-reinstall pytest mock
|
||||
make test-coverage
|
||||
coverage xml
|
||||
|
||||
[testenv:py3]
|
||||
sitepackages = true
|
||||
deps =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue