Index: tox.ini |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/tox.ini |
@@ -0,0 +1,13 @@ |
+[tox] |
+envlist = {py27,py33,py34,py35}-postgis |
+ |
+[testenv] |
+commands = {envpython} setup.py test |
+deps = |
+ mock |
+ {py27,py33,py34,py35}-postgis: psycopg2 >= 2.5 |
+setenv = |
+ postgis: TRYTOND_DATABASE_URI={env:POSTGIS_URI:postgis://} |
+ postgis: DB_NAME={env:POSTGIS_NAME:test} |
+install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages} |
+ |