Skip to content
Snippets Groups Projects
tox.ini 2.82 KiB
Newer Older
Olivier Le Brouster's avatar
Olivier Le Brouster committed
[tox]
envlist=
Dylann Cordel's avatar
Dylann Cordel committed
; test all python version with django 16
Olivier Le Brouster's avatar
Olivier Le Brouster committed
  py26-16,
  py27-16,
  py32-16,
  py33-16,
  py34-16,
Dylann Cordel's avatar
Dylann Cordel committed

; test all other django with python 2.7
  py27-17,
  py27-18,
Dylann Cordel's avatar
Dylann Cordel committed
;  py27-19,

; test all django CMS with python 2.7 (and recommanded django)
;  py27-cms30,
;  py27-cms31,
;  py27-cms32,
;  py27-cms33,
;  py27-cms34
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv]
changedir = {toxinidir}/tests

[testenv:py26-16]
basepython = python2.6
deps = -r{toxinidir}/test_requirements/django-1.6.txt
commands =  ./runtests.sh myapp {posargs}
            ./runtests.sh myapp_i18n {posargs}
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv:py27-16]
basepython = python2.7
deps = -r{toxinidir}/test_requirements/django-1.6.txt
commands = ./runtests.sh myapp {posargs}
            ./runtests.sh myapp_i18n {posargs}
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv:py32-16]
basepython = python3.2
deps = -r{toxinidir}/test_requirements/django-1.6.txt
commands = ./runtests.sh myapp {posargs}
;            ./runtests.sh myapp_i18n {posargs}
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv:py33-16]
basepython = python3.3
deps = -r{toxinidir}/test_requirements/django-1.6.txt
commands = ./runtests.sh myapp {posargs}
;            ./runtests.sh myapp_i18n {posargs}
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv:py34-16]
basepython = python3.4
deps = -r{toxinidir}/test_requirements/django-1.6.txt
commands = ./runtests.sh myapp {posargs}
;            ./runtests.sh myapp_i18n {posargs}
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv:py26-cms30]
basepython = python2.6
deps = -r{toxinidir}/test_requirements/django-1.6_cms-3.0.txt
commands =  ./runtests.sh myapp_cms30 {posargs}
            ./runtests.sh myapp_all30 {posargs}

[testenv:py27-17]
basepython = python2.7
deps = -r{toxinidir}/test_requirements/django-1.7.txt
commands = ./runtests.sh myapp {posargs}
            ./runtests.sh myapp_i18n {posargs}
            
[testenv:py27-18]
basepython = python2.7
deps = -r{toxinidir}/test_requirements/django-1.8.txt
commands = ./runtests.sh myapp {posargs}
            ./runtests.sh myapp_i18n {posargs}
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv:py27-cms30]
basepython = python2.7
deps = -r{toxinidir}/test_requirements/django-1.6_cms-3.0.txt
commands =  ./runtests.sh myapp_cms30 {posargs}
            ./runtests.sh myapp_all30 {posargs}

[testenv:py27-cms31]
basepython = python2.7
deps = -r{toxinidir}/test_requirements/django-1.8_cms-3.1.txt
commands =  ./runtests.sh myapp_cms31 {posargs}
            ./runtests.sh myapp_all31 {posargs}
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv:py32-cms30]
basepython = python3.2
deps = -r{toxinidir}/test_requirements/django-1.6_cms-3.0.txt
commands =  ./runtests.sh myapp_cms30 {posargs}
            ./runtests.sh myapp_all30 {posargs}
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv:py33-cms30]
basepython = python3.3
deps = -r{toxinidir}/test_requirements/django-1.6_cms-3.0.txt
commands =  ./runtests.sh myapp_cms30 {posargs}
            ./runtests.sh myapp_all30 {posargs}
Olivier Le Brouster's avatar
Olivier Le Brouster committed

[testenv:py34-cms30]
basepython = python3.4
deps = -r{toxinidir}/test_requirements/django-1.6_cms-3.0.txt
commands =  ./runtests.sh myapp_cms30 {posargs}
            ./runtests.sh myapp_all30 {posargs}