Skip to content

Commit

Permalink
Add a tox.ini file
Browse files Browse the repository at this point in the history
This runs the unittests across python 2.6 and 2.7
I also updated the requirements file to install tox, and
pinned the requirements to specific versions.
  • Loading branch information
James Saryerwinnie committed Jun 14, 2012
1 parent 3db8668 commit 4b9ade5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -8,3 +8,5 @@ dist/
MANIFEST
.DS_Store
.idea
.tox
.coverage
11 changes: 9 additions & 2 deletions requirements.txt
@@ -1,2 +1,9 @@
requests
mock
mock==0.8.0
nose==1.1.2
M2Crypto==0.21.1
requests==0.13.1
tox==1.4
Sphinx==1.1.3
simplejson==2.5.2
argparse==1.2.1
unittest2==0.5.1
8 changes: 8 additions & 0 deletions tox.ini
@@ -0,0 +1,8 @@
[tox]
envlist = py26,py27


[testenv]
commands =
pip install -qr requirements.txt
python tests/test.py tests/unit

0 comments on commit 4b9ade5

Please sign in to comment.