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:
Andrey Kurilin 2015-05-25 22:56:10 -07:00
parent aa2c43c90c
commit cdc0c56a01
1 changed files with 9 additions and 0 deletions

View File

@ -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}