Skip to content

Commit 7917117

Browse files
authored
MAINT Remove travis ci config and related doc (#25562)
1 parent 05c0e08 commit 7917117

19 files changed

+8
-315
lines changed

.travis.yml

-93
This file was deleted.

README.rst

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
.. -*- mode: rst -*-
22
3-
|Azure|_ |Travis|_ |CirrusCI|_ |Codecov|_ |CircleCI|_ |Nightly wheels|_ |Black|_ |PythonVersion|_ |PyPi|_ |DOI|_ |Benchmark|_
3+
|Azure|_ |CirrusCI|_ |Codecov|_ |CircleCI|_ |Nightly wheels|_ |Black|_ |PythonVersion|_ |PyPi|_ |DOI|_ |Benchmark|_
44

55
.. |Azure| image:: https://dev.azure.com/scikit-learn/scikit-learn/_apis/build/status/scikit-learn.scikit-learn?branchName=main
66
.. _Azure: https://dev.azure.com/scikit-learn/scikit-learn/_build/latest?definitionId=1&branchName=main
77

88
.. |CircleCI| image:: https://circleci.com/gh/scikit-learn/scikit-learn/tree/main.svg?style=shield&circle-token=:circle-token
99
.. _CircleCI: https://circleci.com/gh/scikit-learn/scikit-learn
1010

11-
.. |Travis| image:: https://api.travis-ci.com/scikit-learn/scikit-learn.svg?branch=main
12-
.. _Travis: https://app.travis-ci.com/github/scikit-learn/scikit-learn
13-
1411
.. |CirrusCI| image:: https://img.shields.io/cirrus/github/scikit-learn/scikit-learn/main?label=Cirrus%20CI
1512
.. _CirrusCI: https://cirrus-ci.com/github/scikit-learn/scikit-learn/main
1613

build_tools/travis/after_success.sh

-35
This file was deleted.

build_tools/travis/install.sh

-11
This file was deleted.

build_tools/travis/install_main.sh

-66
This file was deleted.

build_tools/travis/install_wheels.sh

-4
This file was deleted.

build_tools/travis/script.sh

-12
This file was deleted.

build_tools/travis/test_docs.sh

-8
This file was deleted.

build_tools/travis/test_script.sh

-39
This file was deleted.

build_tools/travis/test_wheels.sh

-9
This file was deleted.

doc/about.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ Infrastructure support
619619
----------------------
620620

621621
- We would also like to thank `Microsoft Azure
622-
<https://azure.microsoft.com/en-us/>`_, `Travis Cl <https://travis-ci.org/>`_,
622+
<https://azure.microsoft.com/en-us/>`_, `Cirrus Cl <https://cirrus-ci.org>`_,
623623
`CircleCl <https://circleci.com/>`_ for free CPU time on their Continuous
624624
Integration servers, and `Anaconda Inc. <https://www.anaconda.com>`_ for the
625625
storage they provide for our staging and nightly builds.

doc/developers/maintainer.rst

-24
Original file line numberDiff line numberDiff line change
@@ -342,30 +342,6 @@ updates can be made by pushing to master (for /dev) or a release branch
342342
like 0.99.X, from which Circle CI builds and uploads the documentation
343343
automatically.
344344

345-
Travis Cron jobs
346-
----------------
347-
348-
From `<https://docs.travis-ci.com/user/cron-jobs>`_: Travis CI cron jobs work
349-
similarly to the cron utility, they run builds at regular scheduled intervals
350-
independently of whether any commits were pushed to the repository. Cron jobs
351-
always fetch the most recent commit on a particular branch and build the project
352-
at that state. Cron jobs can run daily, weekly or monthly, which in practice
353-
means up to an hour after the selected time span, and you cannot set them to run
354-
at a specific time.
355-
356-
For scikit-learn, Cron jobs are used for builds that we do not want to run in
357-
each PR. As an example the build with the dev versions of numpy and scipy is
358-
run as a Cron job. Most of the time when this numpy-dev build fail, it is
359-
related to a numpy change and not a scikit-learn one, so it would not make sense
360-
to blame the PR author for the Travis failure.
361-
362-
The definition of what gets run in the Cron job is done in the .travis.yml
363-
config file, exactly the same way as the other Travis jobs. We use a ``if: type
364-
= cron`` filter in order for the build to be run only in Cron jobs.
365-
366-
The branch targeted by the Cron job and the frequency of the Cron job is set
367-
via the web UI at https://www.travis-ci.org/scikit-learn/scikit-learn/settings.
368-
369345
Experimental features
370346
---------------------
371347

sklearn/datasets/tests/test_20news.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Test the 20news downloader, if the data is available,
22
or if specifically requested via environment variable
3-
(e.g. for travis cron job)."""
3+
(e.g. for CI jobs)."""
44
from functools import partial
55
from unittest.mock import patch
66

sklearn/datasets/tests/test_california_housing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Test the california_housing loader, if the data is available,
22
or if specifically requested via environment variable
3-
(e.g. for travis cron job)."""
3+
(e.g. for CI jobs)."""
44
import pytest
55

66
from sklearn.datasets.tests.test_common import check_return_X_y

sklearn/datasets/tests/test_covtype.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Test the covtype loader, if the data is available,
22
or if specifically requested via environment variable
3-
(e.g. for travis cron job)."""
3+
(e.g. for CI jobs)."""
44
from functools import partial
55
import pytest
66
from sklearn.datasets.tests.test_common import check_return_X_y

sklearn/datasets/tests/test_kddcup99.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Test kddcup99 loader, if the data is available,
22
or if specifically requested via environment variable
3-
(e.g. for travis cron job).
3+
(e.g. for CI jobs).
44
55
Only 'percent10' mode is tested, as the full data
66
is too big to use in unit-testing.

sklearn/datasets/tests/test_olivetti_faces.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Test Olivetti faces fetcher, if the data is available,
22
or if specifically requested via environment variable
3-
(e.g. for travis cron job)."""
3+
(e.g. for CI jobs)."""
44

55
import numpy as np
66

sklearn/datasets/tests/test_rcv1.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Test the rcv1 loader, if the data is available,
22
or if specifically requested via environment variable
3-
(e.g. for travis cron job)."""
3+
(e.g. for CI jobs)."""
44

55
import scipy.sparse as sp
66
import numpy as np

0 commit comments

Comments
 (0)