[PATCH 0/7] Make tox tests pass again
Daniel Axtens
dja at axtens.net
Tue Aug 9 14:55:18 AEST 2016
Previously I tried to get tox tests to work by dropping Django 1.6 and
1.7. This won't fly for 'stable' setups based on Django 1.6, which - I
am told - is still shipped by some distros.
So:
Patch 1 fixes the remaining issue for Django 1.7 (other issues were
fixed in my series on django-debug-toolbar).
Patches 2-3 fix Django 1.6.
Patches 4-5 make Tox work properly: patch 4 with docker and patch 5
with Python and Django versions.
Patches 6-7 hook this up to my docker setup and Travis CI.
This sits on top of my other two series.
Daniel Axtens (7):
Convert RunSQL migration commands from list to strings
dev settings: only enable the REST framework for Django 1.7+
Don't import the REST framework if it is disabled
Pass more environment variables through to tox tests
tox: Bump 3.4 to 3.5, only test Django 1.6, 1.7 against 2.7
Enable tox tests in Docker
Test Django 1.6 and 1.7 under Python 2.7 in Travis
.travis.yml | 2 ++
README.md | 2 ++
docker/entrypoint.sh | 7 +++++++
.../migrations/0010_migrate_data_from_submission_to_patch.py | 8 ++++----
patchwork/settings/dev.py | 3 ++-
patchwork/tests/test_rest_api.py | 9 +++++++--
tox.ini | 7 ++++---
7 files changed, 28 insertions(+), 10 deletions(-)
--
2.7.4
More information about the Patchwork
mailing list