Set Python2.7 as basepython for testenv
Based on: * default python can be different at different operation systems; * test environment should not depend on system in which it created; * Python2.7 is used by default in gates it would be nice to set Python2.7 as python interpreter for testenvs in tox configuration file. Change-Id: Iff9daf4a412a27011bb21b2860558fda6574db34
This commit is contained in:
parent
b4417f5e67
commit
95a5fd3c42
9
tox.ini
9
tox.ini
@ -15,11 +15,20 @@ install_command = pip install -U {opts} {packages}
|
||||
usedevelop = True
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
distribute = false
|
||||
basepython = python2.7
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8
|
||||
distribute = false
|
||||
|
||||
[testenv:py26]
|
||||
basepython = python2.6
|
||||
|
||||
|
||||
[testenv:py34]
|
||||
basepython = python3.4
|
||||
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user