summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorAreli Fuss <af732p@att.com>2017-09-24 15:08:11 +0300
committerAreli Fuss <af732p@att.com>2017-09-26 10:29:11 +0300
commit5bcfee95d7dafcaabe4a92b3e8f61f829b15651a (patch)
tree98cc4c1b244c5a9e13ea6451e22b0908c34ecc6a /tox.ini
parent1cd1014b2919cd5b608e8d2d1bbb0c4011067b12 (diff)
Add TOX file
Add too.ini to support python verification task Change-Id: Ie30f34a6ff76046676ca479f05ce5ca4f8fc931e Issue-Id: VVP-25 Signed-off-by: Areli Fuss <af732p@att.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini23
1 files changed, 23 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..6a671ea
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,23 @@
+[tox]
+skipsdist=True
+envlist = py27,py3,style
+setupdir = imagescanner/
+
+[testenv]
+distribute = False
+commands =
+ {envpython} --version
+ pytest --version
+ pytest --cov=imagescanner
+deps = flake8
+ pytest-cov
+ pytest
+
+[testenv:style]
+commands = flake8
+
+[testenv:py27]
+basepython=python2.7
+
+[testenv:py3]
+basepython=python3.6