summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorZhao Chao <zhaochao1984@gmail.com>2018-02-07 18:08:04 +0800
committerZhao Chao <zhaochao1984@gmail.com>2018-02-07 18:10:30 +0800
commit690aa0c23f0a95e5ebc52d8d5c1eb669cfaf18a1 (patch)
tree49f841426fc5c8ff72fc63c8a7c1df1d1831d2a6 /tox.ini
parentcdc7b37cae31e8e0206ff67eea7a3e5f3e26ae7b (diff)
downloadtrove-690aa0c23f0a95e5ebc52d8d5c1eb669cfaf18a1.tar.gz
Add bandit-baseline check job.
As bandit-baseline check just call tox to run tests, adding it to in-tree checks instead of gate jobs. Closes-Bug: #1618549 Change-Id: If6848c69e09117789d566ae47977034d5503fa09 Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 837eb2af..e224c6f8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -100,6 +100,10 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
[testenv:bandit]
commands = bandit -r trove -n5 -x tests
+[testenv:bandit-baseline]
+envdir = {toxworkdir}/bandit
+commands = bandit-baseline -r trove -n5 -x tests -ii -ll
+
[testenv:install-guide]
commands = sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html