Skip to content

Commit 0f4ed59

Browse files
committed
Add testing and support for PyPy
1 parent d127929 commit 0f4ed59

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ matrix:
2323
env: TOXENV=py38-plain
2424
- python: 3.8
2525
env: TOXENV=py38-hiredis
26+
- python: pypy
27+
env: TOXENV=pypy-plain
28+
- python: pypy
29+
env: TOXENV=pypy-hiredis
30+
- python: pypy3
31+
env: TOXENV=pypy3-plain
32+
- python: pypy3
33+
env: TOXENV=pypy3-hiredis
2634
before_install:
2735
- wget https://github.com/antirez/redis/archive/6.0-rc1.tar.gz && mkdir redis_install && tar -xvzf 6.0-rc1.tar.gz -C redis_install && cd redis_install/redis-6.0-rc1 && make && src/redis-server --daemonize yes && cd ../..
2836
- redis-cli info

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
default), Lock.extend() adds the `additional_time` to the lock's existing
2727
TTL. When replace_ttl=True, the lock's existing TTL is replaced with
2828
the value of `additional_time`.
29+
* Add testing and support for PyPy.
2930
* 3.4.1
3031
* Move the username argument in the Redis and Connection classes to the
3132
end of the argument list. This helps those poor souls that specify all

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@
4343
'Programming Language :: Python :: 3.6',
4444
'Programming Language :: Python :: 3.7',
4545
'Programming Language :: Python :: 3.8',
46+
'Programming Language :: Python :: Implementation :: CPython',
47+
'Programming Language :: Python :: Implementation :: PyPy',
4648
]
4749
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 2.4
3-
envlist = {py27,py35,py36,py37,py38}-{plain,hiredis}, pycodestyle
3+
envlist = {py27,py35,py36,py37,py38,py,py3}-{plain,hiredis}, pycodestyle
44

55
[testenv]
66
deps =

0 commit comments

Comments
 (0)