#19891: Travis CI support
--------------------------------------+------------------------------------
Reporter: marko@… | Owner: gcc
Type: Cleanup/optimization | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: Travis, CI, testing | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by gcc):
[https://github.com/django/django/pull/1223 Pull request].
This branch adds the necessary support for Travis into Django, as
discussed on [ticket #19891](https://code.djangoproject.com/ticket/19891).
It runs all Django tests on the following environments:
* SQLite, no GIS
* MySQL, with and without GIS
* PostgreSQL, with and without GIS
It also builds the docs. It does not currently run Selenium tests (because
it cannot run `ChromeDriver`, even though it's executable and in the
PATH).
Due to some quirks in Travis, it will try to build branches even if they
have no `.travis.yml` file. It will try to build them as Ruby code, which
will fail. Therefore this file must be created with some minimal contents
in all regularly-changing branches of Django before enabling Travis,
otherwise people will get email notifications when those branches are
modified, triggering a Travis build which will fail. I suggest using a
copy of `.travis.yml` from this branch.
I have also seen the [https://travis-ci.org/aptivate/django/jobs/7518794
build time out] when running PostgreSQL tests (over 50 minutes). This may
well happen again. We might need to split the PostgreSQL tests into two
separate runs.
Many thanks to @dokterbob and @apollo13 who did all the hard work that
made this possible.
--
Ticket URL: <https://code.djangoproject.com/ticket/19891#comment:24>
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/073.86a52c1b75c8d5a4eba02b07a40cade3%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.