diff options
author | Edan Binshtok <eb578m@intl.att.com> | 2017-09-26 07:34:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-26 07:34:19 +0000 |
commit | dec2193e91d7f3bdc368343b7b6d39ff0b685abe (patch) | |
tree | 98cc4c1b244c5a9e13ea6451e22b0908c34ecc6a | |
parent | 0e7f6b979ab2d30d4084fe698de677c955a81fbb (diff) | |
parent | 5bcfee95d7dafcaabe4a92b3e8f61f829b15651a (diff) |
Merge "Add TOX file"
-rw-r--r-- | tox.ini | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -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 |