Merge "Drop testenvs using django<=1.10 from tox"
This commit is contained in:
commit
e31027a0b5
16
tox.ini
16
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = pep8,py35,py27,py27dj18
|
||||
envlist = pep8,py35,py27,py35dj20
|
||||
minversion = 2.3.2
|
||||
skipsdist = True
|
||||
|
||||
@ -29,12 +29,16 @@ commands =
|
||||
coverage xml --omit '.tox/cover/*' -o 'cover/coverage.xml'
|
||||
coverage html --omit '.tox/cover/*' -d 'cover/htmlcov'
|
||||
|
||||
# Django-1.8 is LTS
|
||||
[testenv:py27dj18]
|
||||
basepython = python2.7
|
||||
[testenv:py35dj20]
|
||||
basepython = python3.5
|
||||
whitelist_externals = git
|
||||
commands =
|
||||
pip install django>=1.8,<1.9
|
||||
python manage.py test {posargs} --settings=magnum_ui.test.settings
|
||||
# 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} --settings=magnum_ui.test.settings
|
||||
|
||||
[testenv:eslint]
|
||||
whitelist_externals = npm
|
||||
|
Loading…
x
Reference in New Issue
Block a user