forked from lukerosiak/pysec
-
Notifications
You must be signed in to change notification settings - Fork 18
/
tox.ini
32 lines (30 loc) · 1.3 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[tox]
# Note, several versions support Python 3.2, but Pip has dropped support, so we can't test them.
# See https://github.com/travis-ci/travis-ci/issues/5485
# Python3.3 and Python3.4 dropped in Ubuntu 16.
envlist = py{27}-django{15,16},py{27}-django{17,18},py{27,35}-django{19},py{27,35}-django{110}
recreate = True
[testenv]
basepython =
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
py35: python3.5
deps =
-r{toxinidir}/pip-requirements.txt
-r{toxinidir}/pip-requirements-test.txt
django15: Django>=1.5,<1.6
django16: Django>=1.6,<1.7
django17: Django>=1.7,<1.8
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<2
commands = django-admin.py test --traceback --settings=django_sec.tests.settings django_sec.tests.tests.Tests{env:TESTNAME:}
# Django 1.5 uses a different test module lookup mechanism, so it needs a different command.
[testenv:py27-django15]
commands = django-admin.py test --traceback --settings=django_sec.tests.settings tests.Tests{env:TESTNAME:}
[testenv:py33-django15]
commands = django-admin.py test --traceback --settings=django_sec.tests.settings tests.Tests{env:TESTNAME:}
[testenv:py34-django15]
commands = django-admin.py test --traceback --settings=django_sec.tests.settings tests.Tests{env:TESTNAME:}