Commits

Kumar McMillan committed a476388

Added initial support for tox (for developing on Nose)

  • Participants
  • Parent commits 5a37b92

Comments (0)

Files changed (3)

 dist
 build
 .noseids
+.tox

File run_tests.sh

+#!/bin/sh
+
+if [ -e "`which tox`" ]; then
+    tox $@
+else
+    echo "**** install tox globally to test all Pythons at once http://codespeak.net/tox/"
+    exec ./selftest.py $@
+fi
+[tox]
+envlist=py27,py26,py25,py24,jython_nodeps,docs
+
+[testenv]
+deps= coverage >=3.2,<3.3
+commands=
+  python selftest.py []
+
+[testenv:docs]
+basepython=python
+changedir=doc
+deps=sphinx
+commands=
+    ##make clean
+    ##make doctest 
+    make html
+    ##make linkcheck
+    
+[testenv:jython_nodeps]
+basepython=jython
+# cannot add coverage as a dep because 
+# it compiles C extensions
+deps=
+commands=
+  python selftest.py []