summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorAreli Fuss <af732p@att.com>2017-10-19 11:18:22 +0300
committerAreli Fuss <af732p@att.com>2017-10-19 11:18:22 +0300
commitc169d08d437ccb62fd79ade759077b874f00b1c3 (patch)
treeaff75e8b27bdc74f118c45217b5fc3a487f3f9b3 /tox.ini
parent268e90854c4dd937543296a00ade56e901456210 (diff)
Update container path
Update container path Change-Id: Iee8d534f88c44ab0a8bb91f0702be4a4d1a2c896 Issue-Id: VVP-25 Signed-off-by: Areli Fuss <af732p@att.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini27
1 files changed, 15 insertions, 12 deletions
diff --git a/tox.ini b/tox.ini
index a88fc60..b3fb5aa 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,12 +1,14 @@
[tox]
-envlist = django1-10-6, style
+envlist = py36
+; py36-django1-10-6 ,style
skipsdist = True
[testenv]
-commands = django-admin.py test
-setenv =
+changedir = {toxinidir}/django
+envlogdir = {toxinidir}/django/logs
+setenv =
DJANGO_SETTINGS_MODULE=vvp.settings.tox_settings
- PYTHONPATH={toxinidir}
+ PYTHONPATH={toxinidir}/django
SECRET_KEY=6mo22&_gtjf#wktqf1#ve^7=w6kx)uq0u*4ksk^aq8lte&)yul
ENVIRONMENT=development
PROGRAM_NAME_URL_PREFIX=vvp
@@ -31,19 +33,20 @@ setenv =
AWS_SECRET_ACCESS_KEY=TKoiwxziUWG9cTYUknUkFGmmyuQ27nP2lCiutEsD
STATIC_ROOT=/app/htdocs
-[base]
+[testenv:py36-django1-10-6]
+basepython = python3.6
deps = -r{toxinidir}/django/requirements.txt
-
-[testenv:django1-10-6]
-deps =
- {[base]deps}
+commands = python --version
+ django-admin.py test
[testenv:style]
+basepython = python3
+deps = flake8
commands = flake8
-[testenv:py3]
-basepython=python3
-
[flake8]
show-source = True
exclude=venv-tox,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
+
+[testenv:py36]
+commands = python --version