summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini21
1 files changed, 21 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..83b1a58
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,21 @@
+[tox]
+envlist = py35
+skipsdist = True
+
+[testenv]
+changedir = {toxinidir}/app
+envlogdir = {toxinidir}/logs
+
+
+[testenv:py35]
+basepython = python3.5
+deps = -r{toxinidir}/app/requirements.txt
+ coverage
+
+commands = python --version
+ coverage erase
+ coverage run --source {toxinidir}/app/toscalib --omit="{toxinidir}/app/toscalib/tosca*.py" -m unittest
+ coverage report
+ coverage xml
+
+