Skip to content

Commit 1c494e3

Browse files
Update references to Travis CI after moving to Github Actions (#7909)
x-ref: #7903
1 parent 9bdd612 commit 1c494e3

File tree

8 files changed

+10
-13
lines changed

8 files changed

+10
-13
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ coverage.*
1818
!.github
1919
!.gitignore
2020
!.pre-commit-config.yaml
21-
!.travis.yml

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Django REST framework][docs]
22

3-
[![build-status-image]][travis]
3+
[![build-status-image]][build-status]
44
[![coverage-status-image]][codecov]
55
[![pypi-version]][pypi]
66

@@ -176,8 +176,8 @@ You may also want to [follow the author on Twitter][twitter].
176176

177177
Please see the [security policy][security-policy].
178178

179-
[build-status-image]: https://secure.travis-ci.org/encode/django-rest-framework.svg?branch=master
180-
[travis]: https://travis-ci.org/encode/django-rest-framework?branch=master
179+
[build-status-image]: https://github.com/encode/django-rest-framework/actions/workflows/main.yml/badge.svg
180+
[build-status]: https://github.com/encode/django-rest-framework/actions/workflows/main.yml
181181
[coverage-status-image]: https://img.shields.io/codecov/c/github/encode/django-rest-framework/master.svg
182182
[codecov]: https://codecov.io/github/encode/django-rest-framework?branch=master
183183
[pypi-version]: https://img.shields.io/pypi/v/djangorestframework.svg

docs/community/contributing.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ GitHub's documentation for working on pull requests is [available here][pull-req
119119

120120
Always run the tests before submitting pull requests, and ideally run `tox` in order to check that your modifications are compatible on all supported versions of Python and Django.
121121

122-
Once you've made a pull request take a look at the Travis build status in the GitHub interface and make sure the tests are running as you'd expect.
122+
Once you've made a pull request take a look at the build status in the GitHub interface and make sure the tests are running as you'd expect.
123123

124-
![Travis status][travis-status]
124+
![Build status][build-status]
125125

126-
*Above: Travis build notifications*
126+
*Above: build notifications*
127127

128128
## Managing compatibility issues
129129

@@ -206,7 +206,7 @@ If you want to draw attention to a note or warning, use a pair of enclosing line
206206
[so-filter]: https://stackexchange.com/filters/66475/rest-framework
207207
[issues]: https://github.com/encode/django-rest-framework/issues?state=open
208208
[pep-8]: https://www.python.org/dev/peps/pep-0008/
209-
[travis-status]: ../img/travis-status.png
209+
[build-status]: ../img/build-status.png
210210
[pull-requests]: https://help.github.com/articles/using-pull-requests
211211
[tox]: https://tox.readthedocs.io/en/latest/
212212
[markdown]: https://daringfireball.net/projects/markdown/basics

docs/community/third-party-packages.md

-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,6 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque
152152
[cookiecutter]: https://github.com/jpadilla/cookiecutter-django-rest-framework
153153
[new-repo]: https://github.com/new
154154
[create-a-repo]: https://help.github.com/articles/create-a-repo/
155-
[travis-ci]: https://travis-ci.org
156-
[travis-profile]: https://travis-ci.org/profile
157155
[pypi-register]: https://pypi.org/account/register/
158156
[semver]: https://semver.org/
159157
[tox-docs]: https://tox.readthedocs.io/en/latest/

docs/img/build-status.png

12.2 KB
Loading

docs/img/travis-status.png

-9.79 KB
Binary file not shown.

docs/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<p class="badges" height=20px>
2121
<iframe src="https://ghbtns.com/github-btn.html?user=encode&amp;repo=django-rest-framework&amp;type=watch&amp;count=true" class="github-star-button" allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
2222

23-
<a href="https://travis-ci.org/encode/django-rest-framework?branch=master">
24-
<img src="https://secure.travis-ci.org/encode/django-rest-framework.svg?branch=master" class="status-badge">
23+
<a href="https://github.com/encode/django-rest-framework/actions/workflows/main.yml">
24+
<img src="https://github.com/encode/django-rest-framework/actions/workflows/main.yml/badge.svg" class="status-badge">
2525
</a>
2626

2727
<a href="https://pypi.org/project/djangorestframework/">

docs_theme/css/default.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ body.index-page #main-content iframe.github-star-button {
3737
margin-right: -15px;
3838
}
3939

40-
/* Travis CI and PyPI badge */
40+
/* CI and PyPI badge */
4141
body.index-page #main-content img.status-badge {
4242
float: right;
4343
margin-right: 8px;

0 commit comments

Comments
 (0)