python: remove tox basepython configuration

This commit is contained in:
Arun Babu Neelicattu 2021-04-16 13:06:21 +02:00 committed by Hubert Chathi
parent 18ad6cb067
commit b0a05976ea

View file

@ -1,14 +1,8 @@
# content of: tox.ini , put in same dir as setup.py # content of: tox.ini , put in same dir as setup.py
[tox] [tox]
envlist = py27,py36,pypy,{py2,py3}-cov,coverage envlist = py27,py36,pypy,{py2,py3}-cov,coverage
[testenv]
basepython =
py27: python2.7
py36: python3.6
pypy: pypy
py2: python2.7
py3: python3.6
[testenv]
deps = -rrequirements.txt deps = -rrequirements.txt
-rtest-requirements.txt -rtest-requirements.txt
@ -22,14 +16,13 @@ commands =
setenv = setenv =
COVERAGE_FILE=.coverage.py2 COVERAGE_FILE=.coverage.py2
[testenv:py3-cov] [testenv:{py,py3}-cov]
commands = commands =
py.test --cov=olm --cov-report term-missing --benchmark-disable --cov-branch py.test --cov=olm --cov-report term-missing --benchmark-disable --cov-branch
setenv = setenv =
COVERAGE_FILE=.coverage.py3 COVERAGE_FILE=.coverage.py3
[testenv:coverage] [testenv:coverage]
basepython = python3.6
commands = commands =
coverage erase coverage erase
coverage combine coverage combine