Commit Graph
15 Commits
Author SHA1 Message Date
Charlie Denton 840bfe8d22 Fix import in Django 2.0
Because the URL mechanism has changed in Django 2.0, the
RegexURLResolver has been renamed.
2018-01-16 10:53:34 +00:00
Charlie Denton 007ba7a443 Don't test Django's master on python 2
Django 2.0 will be dropping support for python 2, so there's no point in
running the tests.
2017-05-08 00:11:17 +01:00
Charlie Denton 6f733d7471 Fix minor typo 2017-05-07 22:19:50 +01:00
Charlie Denton fcbbbe52b3 Explicitly build coverage XML on travis, not tox 2017-04-15 00:11:33 +01:00
Charlie Denton 1481891733 Use TOXENV env var in travis config
I had previously used TOX_ENV, but not realised that TOXENV has a
special meaning for tox. We can now expect TOX to run the appropriate
build on travis without having it explicitly passed into the tox
command.
2017-04-15 00:07:57 +01:00
Charlie Denton a57b067b42 Compile coverage for coveralls command on travis 2017-04-14 01:26:24 +01:00
Charlie Denton d5886387d4 Allow travis builds to report failure early 2017-04-14 01:11:30 +01:00
Charlie Denton c6e58db73e Use tox for travis builds
This paves the way for more complex tox configs that don't need
duplicated config.
2017-04-14 01:09:32 +01:00
Charlie Denton 24d7509879 Run django master in tox tests 2017-04-14 00:53:17 +01:00
Charlie Denton 7dfe58bb10 Remove duplicate line in tox config 2017-04-14 00:49:35 +01:00
Charlie Denton 64325d0f99 Do not allow failures on django 1.11 2017-04-13 00:18:31 +01:00
Charlie Denton f010c6ddf7 Get tests running on django 1.11
I'm a little concerned that this loses some of the efficiencies (in
particular, chunking) from previous versions. That's something that can
probably be improved.
2017-04-12 23:52:06 +01:00
Charlie Denton aefb7dabc2 Django 1.11 uses real class names in __repr__()
See https://code.djangoproject.com/ticket/27546 and
https://github.com/django/django/commit/48826aa
2017-03-03 22:56:09 +00:00
Charlie Denton 8e52bdf6d1 Explicitly name ids of clashing base models
This avoids the following error in django 1.11 tests:

    polymorphic.MRODerived: (models.E005) The field 'id' from parent model 'polymorphic.mrobase3' clashes with the field 'id' from parent model 'polymorphic.mrobase1'.

Related to https://code.djangoproject.com/ticket/22442
2017-03-03 22:16:54 +00:00
Charlie Denton a178ed751d Test against Python 3.6 and Django 1.11b1 2017-03-03 22:16:54 +00:00