summaryrefslogtreecommitdiffstats
path: root/starlingx/tox.ini
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2019-03-07 11:26:42 +0800
committerHaibin Huang <haibin.huang@intel.com>2019-03-07 11:27:40 +0800
commit3eb43f5d5abeede5489f878094bd30607e8a17a0 (patch)
treefbfffe5ac1041ab9f21ff798b8b40cc37b9dddc4 /starlingx/tox.ini
parent5c21ee369b2fffc8c859ffd1ce8532dbb410808d (diff)
Optimize docker image footprint for starlingx
Rebase to python:2-slim Remove unused pip packages Change-Id: Icef1b522b47f999b5c9a18e0a1184e642fbae734 Issue-ID: MULTICLOUD-517 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'starlingx/tox.ini')
-rw-r--r--starlingx/tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/starlingx/tox.ini b/starlingx/tox.ini
index cd5b6573..09d3a50f 100644
--- a/starlingx/tox.ini
+++ b/starlingx/tox.ini
@@ -27,7 +27,9 @@ max-complexity = 27
[testenv]
setenv =
PYTHONPATH = {toxinidir}/../share
-deps = -r{toxinidir}/requirements.txt
+deps =
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
commands =
coverage run --branch manage.py test starlingx
coverage report --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*" --fail-under=30