Permalink
Browse files

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

  • Loading branch information...
1 parent e077080 commit 49d0e2301fb5d204b2e2d6e9718c69eea94c6213 @msabramo msabramo committed Jul 10, 2012
Showing with 15 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +14 −0 tox.ini
View
@@ -6,3 +6,4 @@ Ghost.py.egg-info
dist
*.swp
*.swo
+.tox
View
14 tox.ini
@@ -0,0 +1,14 @@
+# 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
+sitepackages = True
+
+[testenv]
+commands =
+ # Currently assuming that PySide is already installed, because builds fail for me on OS X 10.6.8, so I'm using pyside in Hombrew
+ pip install --use-mirrors -r {toxinidir}/tests/requirements.txt
+ {toxinidir}/tests/run.py -v

0 comments on commit 49d0e23

Please sign in to comment.