Merge "Remove unnecessary pyNN testenv sections"
This commit is contained in:
commit
29f95455c2
20
tox.ini
20
tox.ini
|
@ -11,6 +11,7 @@ setenv =
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
|
commands = stestr run --black-regex ".tests.functional" {posargs}
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
@ -23,15 +24,6 @@ commands = flake8
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:py27]
|
|
||||||
commands =
|
|
||||||
stestr run --black-regex ".tests.functional" '{posargs}'
|
|
||||||
|
|
||||||
[testenv:py35]
|
|
||||||
basepython = python3
|
|
||||||
commands =
|
|
||||||
stestr run --black-regex ".tests.functional" '{posargs}'
|
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
setenv =
|
setenv =
|
||||||
|
@ -39,14 +31,6 @@ setenv =
|
||||||
commands =
|
commands =
|
||||||
stestr run --black-regex ".tests.unit" '{posargs}'
|
stestr run --black-regex ".tests.unit" '{posargs}'
|
||||||
|
|
||||||
[testenv:cover]
|
|
||||||
basepython = python3
|
|
||||||
commands =
|
|
||||||
coverage erase
|
|
||||||
python setup.py testr --coverage --testr-args='--concurrency=1 {posargs}'
|
|
||||||
coverage combine
|
|
||||||
coverage html --include='os_vif/*' -d covhtml -i
|
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
@ -91,5 +75,3 @@ deps =
|
||||||
-c{toxinidir}/lower-constraints.txt
|
-c{toxinidir}/lower-constraints.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
commands =
|
|
||||||
stestr run --black-regex ".tests.functional" '{posargs}'
|
|
||||||
|
|
Loading…
Reference in New Issue