summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2020-04-09 16:08:55 -0700
committerAndy McCurdy <andy@andymccurdy.com>2020-04-09 16:09:46 -0700
commit98242bb8dae5285494ec9eb9f9b945556a16bb6a (patch)
tree01ab5ddbcdfc23ad92a36c71a8ab914f933a63d9
parent7fab03a1d5d701cb1dea25b8a81284ee96a51384 (diff)
parent0f4ed59120221df99d916d13d52903a2c6b84ffa (diff)
downloadredis-py-jdufresne-pypy.tar.gz
Add testing and support for PyPyjdufresne-pypy
-rw-r--r--.travis.yml8
-rw-r--r--CHANGES1
-rw-r--r--setup.cfg3
-rw-r--r--tox.ini2
4 files changed, 13 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 64351b9..702082e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,6 +23,14 @@ matrix:
env: TOXENV=py38-plain
- python: 3.8
env: TOXENV=py38-hiredis
+ - python: pypy
+ env: TOXENV=pypy-plain
+ - python: pypy
+ env: TOXENV=pypy-hiredis
+ - python: pypy3
+ env: TOXENV=pypy3-plain
+ - python: pypy3
+ env: TOXENV=pypy3-hiredis
before_install:
- 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 ../..
- redis-cli info
diff --git a/CHANGES b/CHANGES
index 3670f6f..4453ff2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -26,6 +26,7 @@
default), Lock.extend() adds the `additional_time` to the lock's existing
TTL. When replace_ttl=True, the lock's existing TTL is replaced with
the value of `additional_time`.
+ * Add testing and support for PyPy.
* 3.4.1
* Move the username argument in the Redis and Connection classes to the
end of the argument list. This helps those poor souls that specify all
diff --git a/setup.cfg b/setup.cfg
index 6f7fd5e..0a5d8e7 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -24,6 +24,9 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
+ Programming Language :: Python :: Implementation :: CPython
+ Programming Language :: Python :: Implementation :: PyPy
+
[options]
packages = redis
diff --git a/tox.ini b/tox.ini
index 2d6e60a..6ead282 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 2.4
-envlist = {py27,py35,py36,py37,py38}-{plain,hiredis}, pycodestyle
+envlist = {py27,py35,py36,py37,py38,py,py3}-{plain,hiredis}, pycodestyle
[testenv]
deps =