Commits

Kumar McMillan committed a476388

Added initial support for tox (for developing on Nose)

Comments (0)

Files changed (3)

 dist
 build
 .noseids
+.tox
+#!/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 []
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.