diff options
author | Feng Pan <fpan@redhat.com> | 2017-08-23 17:26:53 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-23 17:26:53 +0000 |
commit | c6f04a5dee991a131a49c2fde9c5990fe2edac4e (patch) | |
tree | 6385096492e6526bf091bae4f3b956a1e865fbba /tox.ini | |
parent | 52b4c2556b909a1e61b50f0ff75778bed962ba85 (diff) | |
parent | f4d388ea508ba00771e43a219ac64e0d430b73bd (diff) |
Merge "Migrates Apex to Python"
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..87b6c035 --- /dev/null +++ b/tox.ini @@ -0,0 +1,26 @@ +[tox] +envlist = docs,pep8,pylint,py35 + +[testenv] +usedevelop = True +deps = + -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt +commands = + coverage erase + nosetests-3.4 --with-xunit \ + --with-coverage \ + --cover-tests \ + --cover-package=apex \ + --cover-xml \ + --cover-min-percentage 90 \ + apex/tests + coverage report + +[testenv:pep8] +basepython = python3 +commands = flake8 --exclude .build,build --ignore=F401 + +[testenv:py35] +basepython = python3 + |