Skip to content

Commit f846586

Browse files
authored
Remove/Replace references to Travis CI. (atlassian-api#628)
- Update documentation. - Switch status badge to GitHub. - Call bump_version in GitHub actions.
1 parent 9816280 commit f846586

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

.travis/bump_version renamed to .github/bump_version

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ increase=${2:patch}
2424

2525
function autoversion(){
2626

27-
if [ -n "${TRAVIS_BUILD_NUMBER+x}" ]; then
28-
BUILD_NUMBER="${TRAVIS_BUILD_NUMBER}"
27+
if [ -n "${GITHUB_RUN_NUMBER+x}" ]; then
28+
BUILD_NUMBER="${GITHUB_RUN_NUMBER}"
2929
else
3030
BUILD_NUMBER="0" # In the developer machine, this will build x.y.z.dev0
3131
fi

.github/workflows/test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ jobs:
2424
- uses: actions/checkout@v2
2525
- name: Run Docker
2626
run: |
27+
.github/bump_version ./ minor > atlassian/VERSION
2728
make docker-qa PYTHON_VERSION=${{matrix.python-version}}
2829

CONTRIBUTING.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ In addition to all the contributors we would like to thank to these companies:
134134

135135
* Atlassian_ for developing such a powerful ecosystem.
136136
* JetBrains_ for providing us with free licenses of PyCharm_
137-
* Travis_ for hosting our continuous integration
137+
* GitHub_ for hosting our repository and continuous integration
138138
* Insomnia_ for providing the human rest client easy to test the methods
139139
.. _Atlassian: https://www.atlassian.com/
140140
.. _JetBrains: http://www.jetbrains.com
141141
.. _PyCharm: http://www.jetbrains.com/pycharm/
142-
.. _Travis: https://travis-ci.org/
142+
.. _GitHub: https://github.com/
143143
.. _Insomnia: https://insomnia.rest/

README.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ Let's fork and provide your changes :)
131131
See the `Contribution Guidelines for this project`_ for details on how to make changes to this library.
132132

133133
.. _Contribution Guidelines for this project: CONTRIBUTING.rst
134-
.. |Build Status| image:: https://travis-ci.org/atlassian-api/atlassian-python-api.svg?branch=master
135-
:target: https://pypi.python.org/pypi/atlassian-python-api
134+
.. |Build Status| image:: https://github.com/atlassian-api/atlassian-python-api/workflows/Test/badge.svg?branch=master
135+
:target: https://github.com/atlassian-api/atlassian-python-api/actions?query=workflow%3ATest+branch%3Amaster
136136
:alt: Build status
137137
.. |PyPI version| image:: https://badge.fury.io/py/atlassian-python-api.svg
138138
:target: https://badge.fury.io/py/atlassian-python-api
@@ -160,11 +160,11 @@ In addition to all the contributors we would like to thank these vendors:
160160
* Atlassian_ for developing such a powerful ecosystem.
161161
* JetBrains_ for providing us with free licenses of PyCharm_
162162
* Microsoft_ for providing us with free licenses of VSCode_
163-
* Travis_ for hosting our continuous integration
163+
* GitHub_ for hosting our repository and continuous integration
164164

165165
.. _Atlassian: https://www.atlassian.com/
166166
.. _JetBrains: http://www.jetbrains.com
167167
.. _PyCharm: http://www.jetbrains.com/pycharm/
168-
.. _Travis: https://travis-ci.org/
168+
.. _GitHub: https://github.com/
169169
.. _Microsoft: https://github.com/Microsoft/vscode/
170170
.. _VSCode: https://code.visualstudio.com/

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ To authenticate to the Atlassian Cloud APIs:
210210
service_desk
211211
xray
212212

213-
.. |Build Status| image:: https://travis-ci.org/atlassian-api/atlassian-python-api.svg?branch=master
213+
.. |Build Status| image:: https://github.com/atlassian-api/atlassian-python-api/workflows/Test/badge.svg?branch=master
214214
:target: https://pypi.python.org/pypi/atlassian-python-api
215215
:alt: Build status
216216
.. |PyPI version| image:: https://badge.fury.io/py/atlassian-python-api.svg

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
[tool.flake8]
88
max-line-length = 120
9-
exclude = '.tox,.travis,docs'
9+
exclude = '.tox,docs'
1010

1111
[tool.black]
1212
line-length = 120

0 commit comments

Comments
 (0)