#22446: Add tox support
--------------------------------------+------------------------------------
Reporter: jmbowman | Owner: jmbowman
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by tobiasmcnulty):
(Also made a similar post to #19891)
I created a "lightweight" Travis/tox setup for my own purposes so I can
check pull requests before submitting them to Django proper. The goal is
not to replace djangoci.com but to provide a lightweight sanity check and
help avoid clogging up Travis when making frequent commits.
If there is a desire to include a tox.ini with Django itself, this file
might work as a foundation:
https://github.com/tobiasmcnulty/django/blob/travis/tox.ini
As I type this, I'm wondering if we could supply a generic tox.ini that
includes all the builds Jenkins runs. Then Jenkins could run tox -e for
each applicable environment, and anyone wanting to run their own Travis
build server could do the same for whatever environments they care about.
In the meantime, anyone who stumbles across this ticket is welcome to copy
what I did to your own GitHub/Travis account or submit a PR to my fork to
see if it builds, before submitting to Django proper (Jenkins will only
fully build your PRs if your username is on the whitelist). '''I will not,
of course, review your PR or merge it into this fork.''' There are no
guarantees that it'll be completely up to date, etc. (create a fork for
yourself if needed).
The repo is here, on the default "travis" branch:
https://github.com/tobiasmcnulty/django
--
Ticket URL: <https://code.djangoproject.com/ticket/22446#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.a910ef2aad622fc8a0cb7dced831bb3b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.