Commits

Sebastian Wiesner  committed e05af86

Use tox for testing

  • Participants
  • Parent commits c35e84e

Comments (0)

Files changed (1)

File pyqt4/tox.ini

+[tox]
+envlist=python,doc
+
+[testenv:python]
+deps=
+    mock
+    py
+commands=
+    py.test --junitxml={envlogdir}/tests.xml []
+
+[testenv:doc]
+deps=
+    sphinx
+commands=
+    sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck
+    sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html