diff --git a/tox.ini b/tox.ini index 9589feb13..a0b3f7f22 100644 --- a/tox.ini +++ b/tox.ini @@ -16,8 +16,10 @@ usedevelop = true [testenv:unittests] setenv = QT_QPA_PLATFORM_PLUGIN_PATH={envsitepackagesdir}/PyQt5/plugins/platforms +# We don't use {[testenv:mkvenv]commands} here because that seems to be broken +# on Ubuntu Trusty. commands = - {[testenv:mkvenv]commands} + {envpython} scripts/link_pyqt.py --tox {envdir} {envpython} -m unittest [testenv:coverage] @@ -37,7 +39,7 @@ commands = [testenv:pylint] skip_install = true -setenv = PYTHONPATH={toxinidir}/scripts:{env:PYTHONPATH:} +setenv = PYTHONPATH={toxinidir}/scripts deps = -rrequirements.txt astroid==1.3.6