mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-21 17:16:47 +03:00
Update references to Travis CI after moving to Github Actions (#7909)
x-ref: https://github.com/encode/django-rest-framework/pull/7903
This commit is contained in:
parent
9bdd6125a1
commit
1c494e3d94
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -18,4 +18,3 @@ coverage.*
|
||||||
!.github
|
!.github
|
||||||
!.gitignore
|
!.gitignore
|
||||||
!.pre-commit-config.yaml
|
!.pre-commit-config.yaml
|
||||||
!.travis.yml
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# [Django REST framework][docs]
|
# [Django REST framework][docs]
|
||||||
|
|
||||||
[![build-status-image]][travis]
|
[![build-status-image]][build-status]
|
||||||
[![coverage-status-image]][codecov]
|
[![coverage-status-image]][codecov]
|
||||||
[![pypi-version]][pypi]
|
[![pypi-version]][pypi]
|
||||||
|
|
||||||
|
@ -176,8 +176,8 @@ You may also want to [follow the author on Twitter][twitter].
|
||||||
|
|
||||||
Please see the [security policy][security-policy].
|
Please see the [security policy][security-policy].
|
||||||
|
|
||||||
[build-status-image]: https://secure.travis-ci.org/encode/django-rest-framework.svg?branch=master
|
[build-status-image]: https://github.com/encode/django-rest-framework/actions/workflows/main.yml/badge.svg
|
||||||
[travis]: https://travis-ci.org/encode/django-rest-framework?branch=master
|
[build-status]: https://github.com/encode/django-rest-framework/actions/workflows/main.yml
|
||||||
[coverage-status-image]: https://img.shields.io/codecov/c/github/encode/django-rest-framework/master.svg
|
[coverage-status-image]: https://img.shields.io/codecov/c/github/encode/django-rest-framework/master.svg
|
||||||
[codecov]: https://codecov.io/github/encode/django-rest-framework?branch=master
|
[codecov]: https://codecov.io/github/encode/django-rest-framework?branch=master
|
||||||
[pypi-version]: https://img.shields.io/pypi/v/djangorestframework.svg
|
[pypi-version]: https://img.shields.io/pypi/v/djangorestframework.svg
|
||||||
|
|
|
@ -119,11 +119,11 @@ GitHub's documentation for working on pull requests is [available here][pull-req
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
![Travis status][travis-status]
|
![Build status][build-status]
|
||||||
|
|
||||||
*Above: Travis build notifications*
|
*Above: build notifications*
|
||||||
|
|
||||||
## Managing compatibility issues
|
## Managing compatibility issues
|
||||||
|
|
||||||
|
@ -206,7 +206,7 @@ If you want to draw attention to a note or warning, use a pair of enclosing line
|
||||||
[so-filter]: https://stackexchange.com/filters/66475/rest-framework
|
[so-filter]: https://stackexchange.com/filters/66475/rest-framework
|
||||||
[issues]: https://github.com/encode/django-rest-framework/issues?state=open
|
[issues]: https://github.com/encode/django-rest-framework/issues?state=open
|
||||||
[pep-8]: https://www.python.org/dev/peps/pep-0008/
|
[pep-8]: https://www.python.org/dev/peps/pep-0008/
|
||||||
[travis-status]: ../img/travis-status.png
|
[build-status]: ../img/build-status.png
|
||||||
[pull-requests]: https://help.github.com/articles/using-pull-requests
|
[pull-requests]: https://help.github.com/articles/using-pull-requests
|
||||||
[tox]: https://tox.readthedocs.io/en/latest/
|
[tox]: https://tox.readthedocs.io/en/latest/
|
||||||
[markdown]: https://daringfireball.net/projects/markdown/basics
|
[markdown]: https://daringfireball.net/projects/markdown/basics
|
||||||
|
|
|
@ -152,8 +152,6 @@ To submit new content, [open an issue][drf-create-issue] or [create a pull reque
|
||||||
[cookiecutter]: https://github.com/jpadilla/cookiecutter-django-rest-framework
|
[cookiecutter]: https://github.com/jpadilla/cookiecutter-django-rest-framework
|
||||||
[new-repo]: https://github.com/new
|
[new-repo]: https://github.com/new
|
||||||
[create-a-repo]: https://help.github.com/articles/create-a-repo/
|
[create-a-repo]: https://help.github.com/articles/create-a-repo/
|
||||||
[travis-ci]: https://travis-ci.org
|
|
||||||
[travis-profile]: https://travis-ci.org/profile
|
|
||||||
[pypi-register]: https://pypi.org/account/register/
|
[pypi-register]: https://pypi.org/account/register/
|
||||||
[semver]: https://semver.org/
|
[semver]: https://semver.org/
|
||||||
[tox-docs]: https://tox.readthedocs.io/en/latest/
|
[tox-docs]: https://tox.readthedocs.io/en/latest/
|
||||||
|
|
BIN
docs/img/build-status.png
Normal file
BIN
docs/img/build-status.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.8 KiB |
|
@ -20,8 +20,8 @@
|
||||||
<p class="badges" height=20px>
|
<p class="badges" height=20px>
|
||||||
<iframe src="https://ghbtns.com/github-btn.html?user=encode&repo=django-rest-framework&type=watch&count=true" class="github-star-button" allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
|
<iframe src="https://ghbtns.com/github-btn.html?user=encode&repo=django-rest-framework&type=watch&count=true" class="github-star-button" allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
|
||||||
|
|
||||||
<a href="https://travis-ci.org/encode/django-rest-framework?branch=master">
|
<a href="https://github.com/encode/django-rest-framework/actions/workflows/main.yml">
|
||||||
<img src="https://secure.travis-ci.org/encode/django-rest-framework.svg?branch=master" class="status-badge">
|
<img src="https://github.com/encode/django-rest-framework/actions/workflows/main.yml/badge.svg" class="status-badge">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href="https://pypi.org/project/djangorestframework/">
|
<a href="https://pypi.org/project/djangorestframework/">
|
||||||
|
|
|
@ -37,7 +37,7 @@ body.index-page #main-content iframe.github-star-button {
|
||||||
margin-right: -15px;
|
margin-right: -15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Travis CI and PyPI badge */
|
/* CI and PyPI badge */
|
||||||
body.index-page #main-content img.status-badge {
|
body.index-page #main-content img.status-badge {
|
||||||
float: right;
|
float: right;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user