Commits

holger krekel  committed 56347e2 Draft

undo overwrite of tox.ini

  • Participants
  • Parent commits a1c6642

Comments (0)

Files changed (1)

-# Tox (http://tox.testrun.org/) is a tool for running tests
-# in multiple virtualenvs. This configuration file will run the
-# test suite on all supported python versions. To use it, "pip install tox"
-# and then run "tox" from this directory.
+[tox]
+envlist=py27,py26,py25,py31,py32,docs
+indexserver =
+    testrun = http://pypi.testrun.org
+    pypi = http://pypi.python.org/simple
 
-[tox]
-envlist = py27, py32, py33, pypy
+[testenv:X]
+commands=echo {posargs}
 
 [testenv]
-commands = nosetests -v
-deps = 
-    nose
+commands=py.test --junitxml={envlogdir}/junit-{envname}.xml {posargs}
+deps=pytest==2.3.2
+
+[testenv:docs]
+basepython=python
+changedir=doc
+deps=:pypi:sphinx
+     {[testenv]deps}
+commands=
+    py.test -v \
+        --junitxml={envlogdir}/junit-{envname}.xml \
+        check_sphinx.py {posargs}
+
+[pytest]
+rsyncdirs=tests tox
+