Skip to content

Commit

Permalink
Merge pull request #12: Add support for testing with tox
Browse files Browse the repository at this point in the history
See pull request #12 on GitHub:
  #12
  • Loading branch information
xolox committed Jul 15, 2013
2 parents 00b7aad + d8a2538 commit e0a3e40
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*.egg
*.pyc
.tox/
build/
dist/
pip_accel.egg-info/
2 changes: 1 addition & 1 deletion pip_accel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

# Semi-standard module versioning.
__version__ = '0.9.8'
__version__ = '0.9.9'

# Standard library modules.
import os
Expand Down
10 changes: 10 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 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, pypy

[testenv]
commands = {envpython} setup.py test

0 comments on commit e0a3e40

Please sign in to comment.