Skip to content

Commit ed8c2df

Browse files
Roey Pratandymccurdy
Roey Prat
authored andcommitted
use github actions instead of travis-CI
1 parent bc58542 commit ed8c2df

File tree

7 files changed

+21
-29
lines changed

7 files changed

+21
-29
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
_Please make sure to review and check all of these items:_
44

55
- [ ] Does `$ tox` pass with this change (including linting)?
6-
- [ ] Does travis tests pass with this change (enable it first in your forked repo and wait for the travis build to finish)?
6+
- [ ] Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
77
- [ ] Is the new or changed code fully tested?
88
- [ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
99

.github/workflows/integration.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
integration:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: test
15+
run: make test

.travis.yml

-14
This file was deleted.

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ redis-py
33

44
The Python interface to the Redis key-value store.
55

6-
.. image:: https://secure.travis-ci.org/andymccurdy/redis-py.svg?branch=master
7-
:target: https://travis-ci.org/andymccurdy/redis-py
6+
.. image:: https://github.com/andymccurdy/redis-py/workflows/CI/badge.svg?branch=master
7+
:target: https://github.com/andymccurdy/redis-py/actions?query=workflow%3ACI+branch%3Amaster
88
.. image:: https://readthedocs.org/projects/redis-py/badge/?version=stable&style=flat
99
:target: https://redis-py.readthedocs.io/en/stable/
1010
.. image:: https://badge.fury.io/py/redis.svg

docker-compose.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,7 @@ services:
5050
CODECOV_TOKEN:
5151
CODECOV_URL:
5252
SHIPPABLE:
53-
TRAVIS:
54-
TRAVIS_BRANCH:
55-
TRAVIS_COMMIT:
56-
TRAVIS_JOB_ID:
57-
TRAVIS_JOB_NUMBER:
58-
TRAVIS_OS_NAME:
59-
TRAVIS_PULL_REQUEST:
60-
TRAVIS_REPO_SLUG:
61-
TRAVIS_TAG:
53+
GITHUB_ACTIONS:
6254
VCS_BRANCH_NAME:
6355
VCS_COMMIT_ID:
6456
VCS_PULL_REQUEST:

docker-entry.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ REDIS_MASTER="${REDIS_MASTER_HOST}":"${REDIS_MASTER_PORT}"
99
echo "Testing against Redis Server: ${REDIS_MASTER}"
1010

1111
# skip the "codecov" env if not running on Travis
12-
if [ -z ${TRAVIS-} ]; then
12+
if [ "${GITHUB_ACTIONS}" = true ] ; then
1313
echo "Skipping codecov"
1414
export TOX_SKIP_ENV="codecov"
1515
fi

tox.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ passenv =
4343
CI_*
4444
CODECOV_*
4545
SHIPPABLE
46-
TRAVIS
47-
TRAVIS_*
46+
GITHUB_*
4847
VCS_*
4948

5049
[testenv:covreport]

0 commit comments

Comments
 (0)