Skip to content

Commit

Permalink
Add tox.ini for tox (http://tox.testrun.org/)
Browse files Browse the repository at this point in the history
  • Loading branch information
msabramo committed Jul 10, 2012
1 parent e077080 commit 49d0e23
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,3 +6,4 @@ Ghost.py.egg-info
dist
*.swp
*.swo
.tox
14 changes: 14 additions & 0 deletions 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.