summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorEdan Binshtok <eb578m@intl.att.com>2017-10-18 08:24:06 +0300
committerEdan Binshtok <eb578m@intl.att.com>2017-10-18 08:24:06 +0300
commit7c9c25ea2adceb67b855b5b54f457290dc5acc5d (patch)
treed8dda22b9f1d52a1ee67de56b2a691edd9df0c92 /tox.ini
parentdec2193e91d7f3bdc368343b7b6d39ff0b685abe (diff)
Add MVN and Update Tox
Add files needed for MVN build. Update tox definitions. Change-Id: I2bec9c59efab416dd234536b7500abd68eafb20f Issue-Id: VVP-28 Signed-off-by: Edan Binshtok <eb578m@intl.att.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 11 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 6a671ea..a0ea6fc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,7 @@
+
[tox]
skipsdist=True
-envlist = py27,py3,style
+envlist = py3,style
setupdir = imagescanner/
[testenv]
@@ -9,15 +10,19 @@ commands =
{envpython} --version
pytest --version
pytest --cov=imagescanner
-deps = flake8
+deps =
+ flake8
pytest-cov
pytest
-[testenv:style]
-commands = flake8
-[testenv:py27]
-basepython=python2.7
+[testenv:style]
+commands = python -m flake8
[testenv:py3]
basepython=python3.6
+
+[flake8]
+show-source = True
+exclude=venv-tox,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
+