diff --git a/.travis.yml b/.travis.yml index 01f568866..9ec9ef57b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ install: script: - xvfb-run -s "-screen 0 640x480x16" tox -e py34,py34-integration + - tox -e unittests-nodisp - tox -e misc - tox -e pep257 - tox -e pyflakes diff --git a/tox.ini b/tox.ini index f23acd9db..2522b1c46 100644 --- a/tox.ini +++ b/tox.ini @@ -62,6 +62,15 @@ commands = {envpython} scripts/dev/freeze_tests.py build_exe -b {envdir}/build {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] basepython = python3 # For global .gitignore files