Merge "Add debug testenv in tox"
This commit is contained in:
commit
2dd17902c6
|
@ -10,7 +10,7 @@ ddt>=0.7.0
|
||||||
python-subunit>=0.0.18
|
python-subunit>=0.0.18
|
||||||
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
|
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
|
||||||
oslosphinx>=2.5.0 # Apache-2.0
|
oslosphinx>=2.5.0 # Apache-2.0
|
||||||
oslotest>=1.7.0 # Apache-2.0
|
oslotest>=1.10.0 # Apache-2.0
|
||||||
testrepository>=0.0.18
|
testrepository>=0.0.18
|
||||||
testscenarios>=0.4
|
testscenarios>=0.4
|
||||||
testtools>=1.4.0
|
testtools>=1.4.0
|
||||||
|
|
11
tox.ini
11
tox.ini
|
@ -21,6 +21,17 @@ commands = find . -type f -name "*.py[c|o]" -delete
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
setenv = OS_TEST_PATH=./kuryr/tests/fullstack
|
setenv = OS_TEST_PATH=./kuryr/tests/fullstack
|
||||||
|
|
||||||
|
[testenv:debug]
|
||||||
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
|
[testenv:debug-py27]
|
||||||
|
basepython = python2.7
|
||||||
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
|
[testenv:debug-py34]
|
||||||
|
basepython = python3.4
|
||||||
|
commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue