summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-05-12 19:31:16 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-05-24 23:24:07 (GMT)
commitf9bd3fb0cc112691da490022effe0131a2a14d40 (patch)
treeeb985b37fed91d88ab526cc6d80d2230c948d80d /tox.ini
parentda768271bf738816c5fb4e7413857c8eaeaf251a (diff)
downloadpublik-bi-f9bd3fb0cc112691da490022effe0131a2a14d40.zip
publik-bi-f9bd3fb0cc112691da490022effe0131a2a14d40.tar.gz
publik-bi-f9bd3fb0cc112691da490022effe0131a2a14d40.tar.bz2
bi-joe: BI engine and frontend for PostgreSQL
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini19
1 files changed, 19 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..9e61007
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,19 @@
+# Tox (http://tox.testrun.org/) is a tool for running tests
+# in multiple virtualenvs. This configuration file will run the
+# test suite on all supported python versions. To use it, "pip install tox"
+# and then run "tox" from this directory.
+
+[tox]
+toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/publik-bi/
+
+[testenv]
+usedevelop = true
+setenv =
+ coverage: COVERAGE=--junit-xml=junit.xml --cov=src --cov-report xml
+deps =
+ coverage
+ pytest
+ pytest-cov
+ pytest-random
+commands =
+ py.test {env:COVERAGE:} {posargs:--random tests}