Browse Source

Add configuration for tox.

Jelmer Vernooij 11 years ago
parent
commit
c4547ae117
1 changed files with 20 additions and 0 deletions
  1. 20 0
      tox.ini

+ 20 - 0
tox.ini

@@ -0,0 +1,20 @@
+[tox]
+downloadcache = {toxworkdir}/cache/
+envlist = py27, pypy
+
+[testenv]
+deps =
+    unittest2
+
+commands = make check
+recreate = True
+whitelist_externals = make
+
+[testenv:py24]
+setenv =
+    PIP_INSECURE=1
+
+
+[testenv:py25]
+setenv =
+    PIP_INSECURE=1