8000 [MRG] DOC add documentation about Travis cron job (#10124) · maskani-moh/scikit-learn@ed4a3f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit ed4a3f5

Browse files
lestevemaskani-moh
authored andcommitted
[MRG] DOC add documentation about Travis cron job (scikit-learn#10124)
1 parent c7207d5 commit ed4a3f5

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

doc/developers/maintainer.rst

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Maintainer / core-developer information
22
========================================
33

4-
For more information see https://github.com/scikit-learn/scikit-learn/wiki/How-to-make-a-release
5-
64
Making a release
75
------------------
6+
For more information see https://github.com/scikit-learn/scikit-learn/wiki/How-to-make-a-release
7+
88

99
1. Update docs:
1010

@@ -55,3 +55,27 @@ Making a release
5555

5656

5757
7. FOR FINAL RELEASE: Update the release date in What's New
58+
59+
Travis Cron jobs
60+
----------------
61+
62+
From `<https://docs.travis-ci.com/user/cron-jobs>`_: Travis CI cron jobs work
63+
similarly to the cron utility, they run builds at regular scheduled intervals
64+
independently of whether any commits were pushed to the repository. Cron jobs
65+
always fetch the most recent commit on a particular branch and build the project
66+
at that state. Cron jobs can run daily, weekly or monthly, which in practice
67+
means up to an hour after the selected time span, and you cannot set them to run
68+
at a specific time.
69+
70+
For scikit-learn, Cron jobs are used for builds that we do not want to run in
71+
each PR. As an example the build with the dev versions of numpy and scipy is
72+
run as a Cron job. Most of the time when this numpy-dev build fail, it is
73+
related to a numpy change and not a scikit-learn one, so it would not make sense
74+
to blame the PR author for the Travis failure.
75+
76+
The definition of what gets run in the Cron job is done in the .travis.yml
77+
config file, exactly the same way as the other Travis jobs. We use a ``if: type
78+
= cron`` filter in order for the build to be run only in Cron jobs.
79+
80+
The branch targetted by the Cron job and the frequency of the Cron job is set
81+
via the web UI at https://www.travis-ci.org/scikit-learn/scikit-learn/settings.

0 commit comments

Comments
 (0)
156D
0