Skip to content
Snippets Groups Projects
tox.ini 1.1 KiB
Newer Older
Olivier Le Brouster's avatar
Olivier Le Brouster committed
[tox]
envlist=
  py27-django18,
  py27-django19,
  py27-django110,
Dylann Cordel's avatar
Dylann Cordel committed

; test all django CMS with python 2.7 (and recommanded django)
  py27-cms31,
  py27-cms32,
  py27-cms33,
  py27-cms34,

; test with other python version
  py33-django18,
  py33-cms34,
  py34-django18,
  py34-cms34,
  py35-django18,
  py35-cms34,
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv]
changedir = {toxinidir}/tests
basepython =
    py27: python2.7
    py33: python3.3
    py34: python3.4
    py35: python3.5

deps =
    django18: -r{toxinidir}/test_requirements/django-1.8.txt
    django19: -r{toxinidir}/test_requirements/django-1.9.txt
    django110: -r{toxinidir}/test_requirements/django-1.10.txt

    cms31: -r{toxinidir}/test_requirements/django-1.8_cms-3.1.txt
    cms32: -r{toxinidir}/test_requirements/django-1.8_cms-3.2.txt
    cms33: -r{toxinidir}/test_requirements/django-1.8_cms-3.3.txt
    cms34: -r{toxinidir}/test_requirements/django-1.8_cms-3.4.txt

commands =
    django1{8,9,10}: ./runtests.sh myapp {posargs}
    django1{8,9,10}: ./runtests.sh myapp_i18n {posargs}
    cms3{1,2,3,4}: ./runtests.sh myapp_cms {posargs}
    cms3{1,2,3,4}: ./runtests.sh myapp_all {posargs}