Permalink
Browse files

Add a tox.ini file

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...
1 parent 3db8668 commit 4b9ade576070b2970821ab907cac46410fd666ea @jamesls jamesls committed Jun 13, 2012
Showing with 19 additions and 2 deletions.
  1. +2 −0 .gitignore
  2. +9 −2 requirements.txt
  3. +8 −0 tox.ini
View
@@ -8,3 +8,5 @@ dist/
MANIFEST
.DS_Store
.idea
+.tox
+.coverage
View
@@ -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
View
@@ -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.