Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 827d86b

Browse files
committed
Replace Travis CI by GitHub Actions in docs.
1 parent 0481c01 commit 827d86b

File tree

4 files changed

+41
-46
lines changed

4 files changed

+41
-46
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
|DiscourseBadge|_ |Gitter|_ |GitHubIssues|_ |GitTutorial|_
44

5-
|Travis|_ |AzurePipelines|_ |AppVeyor|_ |Codecov|_ |LGTM|_
5+
|GitHubActions|_ |AzurePipelines|_ |AppVeyor|_ |Codecov|_ |LGTM|_
66

7-
.. |Travis| image:: https://travis-ci.com/matplotlib/matplotlib.svg?branch=master
8-
.. _Travis: https://travis-ci.com/matplotlib/matplotlib
7+
.. |GitHubActions| image:: https://github.com/matplotlib/matplotlib/workflows/Tests/badge.svg
8+
.. _GitHubActions: https://github.com/matplotlib/matplotlib/actions?query=workflow%3ATests
99

1010
.. |AzurePipelines| image:: https://dev.azure.com/matplotlib/matplotlib/_apis/build/status/matplotlib.matplotlib?branchName=master
1111
.. _AzurePipelines: https://dev.azure.com/matplotlib/matplotlib/_build/latest?definitionId=1&branchName=master

doc/devel/coding_guide.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,15 @@ Automated tests
192192
Whenever a pull request is created or updated, various automated test tools
193193
will run on all supported platforms and versions of Python.
194194

195-
* Make sure the Linting, Travis, AppVeyor, CircleCI, and Azure pipelines are
196-
passing before merging (All checks are listed at the bottom of the GitHub
197-
page of your pull request). Here are some tips for finding the cause of the
198-
test failure:
195+
* Make sure the Linting, GitHub Actions, AppVeyor, CircleCI, and Azure
196+
pipelines are passing before merging (All checks are listed at the bottom of
197+
the GitHub page of your pull request). Here are some tips for finding the
198+
cause of the test failure:
199199

200200
- If *Linting* fails, you have a code style issue, which will be listed
201201
as annotations on the pull request's diff.
202-
- If a Travis or AppVeyor run fails, search the log for ``FAILURES``. The
203-
subsequent section will contain information on the failed tests.
202+
- If a GitHub Actions or AppVeyor run fails, search the log for ``FAILURES``.
203+
The subsequent section will contain information on the failed tests.
204204
- If CircleCI fails, likely you have some reStructuredText style issue in
205205
the docs. Search the CircleCI log for ``WARNING``.
206206
- If Azure pipelines fail with an image comparison error, you can find the

doc/devel/release_guide.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Release Guide
2323
Testing
2424
=======
2525

26-
We use `Travis CI <https://travis-ci.org/matplotlib/matplotlib>`__ for
27-
continuous integration. When preparing for a release, the final
28-
tagged commit should be tested locally before it is uploaded::
26+
We use `GitHub Actions <https://github.com/matplotlib/matplotlib/actions>`__
27+
for continuous integration. When preparing for a release, the final tagged
28+
commit should be tested locally before it is uploaded::
2929

3030
pytest -n 8 .
3131

@@ -251,12 +251,12 @@ We distribute macOS, Windows, and many Linux wheels as well as a source tarball
251251
via PyPI. Most builders should trigger automatically once the tag is pushed to
252252
GitHub:
253253

254-
* Mac and manylinux wheels are built on Travis CI. Builds are triggered by the
255-
GitHub Action defined in :file:`.github/workflows/wheels.yml`, and wheels
256-
will be available at the site defined in the `matplotlib-wheels repo
257-
<https://github.com/MacPython/matplotlib-wheels>`__.
258-
* Windows wheels are built by Christoph Gohlke automatically and will be
259-
`available at his site
254+
* Windows, macOS and manylinux wheels are built on GitHub Actions. Builds are
255+
triggered by the GitHub Action defined in
256+
:file:`.github/workflows/cibuildwheel.yml`, and wheels will be available as
257+
artifacts of the build.
258+
* Alternative Windows wheels are built by Christoph Gohlke automatically and
259+
will be `available at his site
260260
<https://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib>`__ once built.
261261
* The auto-tick bot should open a pull request into the `conda-forge feedstock
262262
<https://github.com/conda-forge/matplotlib-feedstock>`__. Review and merge

doc/devel/testing.rst

Lines changed: 23 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -147,34 +147,29 @@ We try to keep the tests categorized by the primary module they are
147147
testing. For example, the tests related to the ``mathtext.py`` module
148148
are in ``test_mathtext.py``.
149149

150-
Using Travis CI
151-
---------------
152-
153-
`Travis CI <https://travis-ci.com/>`_ is a hosted CI system "in the
154-
cloud".
155-
156-
Travis is configured to receive notifications of new commits to GitHub
157-
repos (via GitHub "service hooks") and to run builds or tests when it
158-
sees these new commits. It looks for a YAML file called
159-
``.travis.yml`` in the root of the repository to see how to test the
160-
project.
161-
162-
Travis CI is already enabled for the `main Matplotlib GitHub
163-
repository <https://github.com/matplotlib/matplotlib/>`_ -- for
164-
example, see `its Travis page
165-
<https://travis-ci.com/matplotlib/matplotlib>`_.
166-
167-
If you want to enable Travis CI for your personal Matplotlib GitHub
168-
repo, simply enable the repo to use Travis CI in either the Travis CI
169-
UI or the GitHub UI (Admin | Service Hooks). For details, see `the
170-
Travis CI Getting Started page
171-
<https://docs.travis-ci.com/user/getting-started/>`_. This
172-
generally isn't necessary, since any pull request submitted against
173-
the main Matplotlib repository will be tested.
174-
175-
Once this is configured, you can see the Travis CI results at
176-
https://travis-ci.org/your_GitHub_user_name/matplotlib -- here's `an
177-
example <https://travis-ci.org/msabramo/matplotlib>`_.
150+
Using GitHub Actions for CI
151+
---------------------------
152+
153+
`GitHub Actions <https://docs.github.com/en/actions>`_ is a hosted CI system
154+
"in the cloud".
155+
156+
GitHub Actions is configured to receive notifications of new commits to GitHub
157+
repos and to run builds or tests when it sees these new commits. It looks for a
158+
YAML files in ``.github/workflows`` to see how to test the project.
159+
160+
GitHub Actions is already enabled for the `main Matplotlib GitHub repository
161+
<https://github.com/matplotlib/matplotlib/>`_ -- for example, see `the Tests
162+
workflows
163+
<https://github.com/matplotlib/matplotlib/actions?query=workflow%3ATests>`_.
164+
165+
GitHub Actions should be automatically enabled for your personal Matplotlib
166+
fork once the YAML workflow files are in it. It generally isn't necessary to
167+
look at these workflows, since any pull request submitted against the main
168+
Matplotlib repository will be tested.
169+
170+
You can see the GitHub Actions results at
171+
https://github.com/your_GitHub_user_name/matplotlib/actions -- here's `an
172+
example <https://github.com/QuLogic/matplotlib/actions>`_.
178173

179174

180175
Using tox

0 commit comments

Comments
 (0)