Add a unittests-nodisp environment.
This commit is contained in:
parent
4854ca42fd
commit
2500b1f759
@ -21,6 +21,7 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- xvfb-run -s "-screen 0 640x480x16" tox -e py34,py34-integration
|
- xvfb-run -s "-screen 0 640x480x16" tox -e py34,py34-integration
|
||||||
|
- tox -e unittests-nodisp
|
||||||
- tox -e misc
|
- tox -e misc
|
||||||
- tox -e pep257
|
- tox -e pep257
|
||||||
- tox -e pyflakes
|
- tox -e pyflakes
|
||||||
|
9
tox.ini
9
tox.ini
@ -62,6 +62,15 @@ commands =
|
|||||||
{envpython} scripts/dev/freeze_tests.py build_exe -b {envdir}/build
|
{envpython} scripts/dev/freeze_tests.py build_exe -b {envdir}/build
|
||||||
{envdir}/build/run-frozen-tests --strict -rfEsw {posargs}
|
{envdir}/build/run-frozen-tests --strict -rfEsw {posargs}
|
||||||
|
|
||||||
|
[testenv:unittests-nodisp]
|
||||||
|
basepython = python3
|
||||||
|
passenv = {[testenv]passenv}
|
||||||
|
deps = {[testenv]deps}
|
||||||
|
setenv = DISPLAY=
|
||||||
|
commands =
|
||||||
|
{envpython} scripts/link_pyqt.py --tox {envdir}
|
||||||
|
{envpython} -m py.test --strict -rfEsw -m 'not integration' {posargs:tests}
|
||||||
|
|
||||||
[testenv:misc]
|
[testenv:misc]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
# For global .gitignore files
|
# For global .gitignore files
|
||||||
|
Loading…
Reference in New Issue
Block a user