Permalink
Browse files

Add support for tox (http://tox.testrun.org/)

  • Loading branch information...
1 parent 68e7569 commit faa78e917cf93da55dfc9e36bf4d976a929359aa @msabramo msabramo committed Jun 9, 2012
Showing with 19 additions and 1 deletion.
  1. +3 −1 .gitignore
  2. +16 −0 tox.ini
View
@@ -1,5 +1,5 @@
-# Editor temporary/working/backup files #
#########################################
+# Editor temporary/working/backup files #
.#*
[#]*#
*~
@@ -27,6 +27,8 @@ doc/_build
dist
# Egg metadata
*.egg-info
+# tox testing tool
+.tox
# OS generated files #
######################
View
16 tox.ini
@@ -0,0 +1,16 @@
+# 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 = py26, py27, py31, py32
+
+[testenv]
+changedir = /tmp
+commands =
+ sh -c 'rm -f $HOME/.matplotlib/fontList*'
+ {envpython} {toxinidir}/tests.py
+deps =
+ nose
+ numpy

0 comments on commit faa78e9

Please sign in to comment.