Merge "Install horizon from git for tox testenv py35dj20"

This commit is contained in:
Zuul 2018-04-09 07:05:41 +00:00 committed by Gerrit Code Review
commit 83dd934ad5
1 changed files with 7 additions and 2 deletions

View File

@ -33,9 +33,14 @@ commands =
[testenv:py35dj20]
basepython = python3.5
whitelist_externals = git
commands =
pip install django>=2.0,<2.1
python manage.py test {posargs}
# NOTE(shu-mutow): To test this new env, need to re-install recent horizon
# from git master branch like CI infra does.
git clone https://git.openstack.org/openstack/horizon.git .tox/py35dj20/src/horizon
pip install -U -t .tox/py35dj20/lib/python3.5/site-packages/ .tox/py35dj20/src/horizon
pip install django>=2.0,<2.1
python manage.py test {posargs}
[testenv:eslint]
whitelist_externals = npm