Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(403)

Unified Diff: tox.ini

Issue 322730043: trytond-gis: Initial commit
Patch Set: Use setUpModule to populate the module list and register the testing module Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « setup.py ('k') | trytond_backend_gis/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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}
+
« no previous file with comments | « setup.py ('k') | trytond_backend_gis/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b