diff options
author | Lusheng Ji <lji@research.att.com> | 2017-09-20 02:18:20 +0000 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2017-09-20 02:33:43 +0000 |
commit | 88648fc9fbdb2eba6982b754b46e9edd3f32579b (patch) | |
tree | f57385eebb064d469b599cd3a61d60df5ac5f932 /python-discovery-client/tox.ini | |
parent | 4b74774b378d9cfaa48d740f92b12bdca2df04b5 (diff) |
Add sonar and push to pypi
Issue-Id: DCAEGEN2-60
Change-Id: I4d2d32ca2c5ffb113c4379a1b3374b1a1dfc1856
Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'python-discovery-client/tox.ini')
-rw-r--r-- | python-discovery-client/tox.ini | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/python-discovery-client/tox.ini b/python-discovery-client/tox.ini new file mode 100644 index 0000000..987b009 --- /dev/null +++ b/python-discovery-client/tox.ini @@ -0,0 +1,11 @@ +# content of: tox.ini , put in same dir as setup.py +[tox] +envlist = py27,py35 + +[testenv] +deps= + -rrequirements.txt + pytest + coverage + pytest-cov +commands=pytest --junitxml xunit-results.xml --cov {envsitepackagesdir} --cov-report=xml |