diff options
author | 2019-04-19 13:57:46 +0800 | |
---|---|---|
committer | 2019-04-19 14:01:10 +0800 | |
commit | affcd0828f0dd0941ba546aca5bce05e8ee1a598 (patch) | |
tree | a20b80dbc987dde4ee3e65f3b29e81b49c93cb4f /tox.ini | |
parent | 4735409872776f9675df733087dcb1b61b038ab0 (diff) |
genericparser seed code
Change-Id: Id15ac689c1d560619bf6c699fb0786e7381d3def
Issue-ID: MODELING-153
Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +[tox] +envlist = py27,pep8,cov +skipsdist = true + +[tox:jenkins] +downloadcache = ~/cache/pip + +[flake8] +ignore = E501,E722 +exclude = ./venv-tox,./.tox + +[testenv] +deps = -r{toxinidir}/requirements.txt +commands = coverage run --branch manage.py test catalog + +[testenv:pep8] +deps = flake8 +commands = flake8 + +[testenv:py27] +commands = + {[testenv]commands} + +[testenv:cov] +commands = coverage xml --omit="*test*,*__init__.py,*site-packages*" |