2015-05-16 21:03:23 +02:00
|
|
|
[tox]
|
|
|
|
envlist =
|
2016-11-08 19:50:40 +01:00
|
|
|
{py27,py33,py34,py35}-django18-restframework{34,35},
|
|
|
|
{py27,py34,py35}-django{19,110}-restframework{34,35},
|
|
|
|
{py27,py34,py35}-djangolatest-restframeworklatest,
|
|
|
|
warnings
|
2015-09-03 14:18:52 +02:00
|
|
|
|
2015-05-16 21:03:23 +02:00
|
|
|
|
|
|
|
[testenv]
|
2016-10-03 15:30:48 +02:00
|
|
|
commands = coverage run --source django_filters ./runtests.py {posargs}
|
2015-05-16 21:03:23 +02:00
|
|
|
setenv =
|
|
|
|
PYTHONDONTWRITEBYTECODE=1
|
|
|
|
deps =
|
2015-09-03 14:18:52 +02:00
|
|
|
django18: django>=1.8.0,<1.9.0
|
2016-02-05 17:45:38 +01:00
|
|
|
django19: django>=1.9.0,<1.10.0
|
2016-08-03 15:30:41 +02:00
|
|
|
django110: django>=1.10.0,<1.11.0
|
2016-11-08 19:50:40 +01:00
|
|
|
djangolatest: https://github.com/django/django/archive/master.tar.gz
|
2016-09-20 21:15:15 +02:00
|
|
|
restframework34: djangorestframework>=3.4,<3.5
|
2016-11-08 19:50:40 +01:00
|
|
|
restframework35: djangorestframework>=3.5,<3.6
|
|
|
|
restframeworklatest: https://github.com/tomchristie/django-rest-framework/archive/master.tar.gz
|
2016-09-20 21:15:15 +02:00
|
|
|
-rrequirements/test-ci.txt
|
2016-10-03 15:30:48 +02:00
|
|
|
|
2016-11-08 19:50:40 +01:00
|
|
|
[testenv:py27-djangolatest-restframeworklatest]
|
2016-10-03 15:30:48 +02:00
|
|
|
ignore_outcome = True
|
|
|
|
|
2016-11-08 19:50:40 +01:00
|
|
|
[testenv:py34-djangolatest-restframeworklatest]
|
2016-10-03 15:30:48 +02:00
|
|
|
ignore_outcome = True
|
|
|
|
|
2016-11-08 19:50:40 +01:00
|
|
|
[testenv:py35-djangolatest-restframeworklatest]
|
2016-10-03 15:30:48 +02:00
|
|
|
ignore_outcome = True
|
2016-11-08 19:50:40 +01:00
|
|
|
|
|
|
|
[testenv:warnings]
|
|
|
|
ignore_outcome = True
|
|
|
|
commands = python -Werror ./runtests.py {posargs}
|
|
|
|
deps =
|
|
|
|
https://github.com/django/django/archive/master.tar.gz
|
|
|
|
https://github.com/tomchristie/django-rest-framework/archive/master.tar.gz
|
|
|
|
-rrequirements/test-ci.txt
|