Override python test command on python2.7

Right now kuryr-kubernetes is only compatible with python3.5 (until
maybe a change in a future). This commit overrides the command to
run on python2.7 to do a dummy call and avoid fails on CI.

It also sets python3.5 as default at running only 'tox'

Change-Id: I2f342588a62a6fc3112978f6bc0f5917119348ff
Signed-off-by: Jaume Devesa <devvesa@gmail.com>
This commit is contained in:
Jaume Devesa 2016-09-05 12:24:36 +02:00
parent 82dce858cf
commit aa0139e56b

View File

@ -1,6 +1,6 @@
[tox]
minversion = 1.6
envlist = py27,pep8
envlist = py35,pep8
skipsdist = True
[testenv]
@ -17,6 +17,9 @@ whitelist_externals = sh
commands = find . -type f -name "*.py[c|o]" -delete
sh tools/pretty_tox.sh '{posargs}'
[testenv:py27]
commands =
[testenv:fullstack]
basepython = python2.7
setenv = OS_TEST_PATH=./kuryr/tests/fullstack