[PATCH 4/4] tox: Test all supported versions of DRF
Daniel Axtens
dja at axtens.net
Wed Apr 5 14:29:20 AEST 2017
Hi Stephen,
Thanks for doing all of these - I will test them soon.
> I'm not sure about this one: it's a _lot_ of extra testing that I'm not
> so sure people will run. I wonder if it's even worth it? Perhaps Travis
> could test using system packages in addition to pip?
I have a partial patch in this direction - I suggest adding things like
py{27,35}-{xenial,jessie,etc} that install the versions known to be
available on those platforms.
Regards,
Daniel
> ---
> tox.ini | 19 ++++++++++++-------
> 1 file changed, 12 insertions(+), 7 deletions(-)
>
> diff --git a/tox.ini b/tox.ini
> index 8cf23f6..72ec5c9 100644
> --- a/tox.ini
> +++ b/tox.ini
> @@ -1,22 +1,27 @@
> [tox]
> minversion = 2.0
> -envlist = pep8,py{27,34}-django{16,17,18,19,110},py35-django{18,19,110}
> +envlist =
> + pep8
> + py{27,34}-django16-drf32
> + py{27,34}-django17-drf{32,33}
> + py{27,34,35}-django{18,19,110}-drf{34,35,36}
> skipsdist = True
>
> [testenv]
> deps =
> -r{toxinidir}/requirements-test.txt
> django16: django>=1.6,<1.7
> - django16: djangorestframework>=3.2,<3.3
> - django16: django-filter>=0.11,<0.12
> django17: django>=1.7,<1.8
> - django17: djangorestframework>=3.3,<3.4
> - django17: django-filter>=0.11,<0.12
> django18: django>=1.8,<1.9
> django19: django>=1.9,<1.10
> django110: django>=1.10,<1.11
> - django{18,19,110}: djangorestframework>=3.5,<3.6
> - django{18,19,110}: django-filter>=1.0,<1.1
> + drf32: djangorestframework>=3.2,<3.3
> + drf33: djangorestframework>=3.3,<3.4
> + drf34: djangorestframework>=3.4,<3.5
> + drf35: djangorestframework>=3.5,<3.6
> + drf36: djangorestframework>=3.6,<3.7
> + drf{32,33,34}: django-filter>=0.11,<0.12
> + drf{35,36}: django-filter>=1.0,<1.1
> setenv =
> DJANGO_SETTINGS_MODULE = patchwork.settings.dev
> PYTHONDONTWRITEBYTECODE = 1
> --
> 2.9.3
More information about the Patchwork
mailing list