diff options
author | Andrew Brookins <andrew.brookins@redislabs.com> | 2020-07-13 23:14:26 +0000 |
---|---|---|
committer | Andrew Brookins <andrew.brookins@redislabs.com> | 2020-07-13 23:14:26 +0000 |
commit | a10751d94bbf2dd9bfc2f8946f5a3934df41b346 (patch) | |
tree | 9fad6320d81d19ee4d5b0b550075784460647022 /tox.ini | |
parent | 639a8dc11858f87ee571791bb751315de690541b (diff) | |
download | redis-py-a10751d94bbf2dd9bfc2f8946f5a3934df41b346.tar.gz |
Improvements based on review feedback:
1. All make targets are now PHONY.
2. Cleaned up the 'dev' target so that it passes --build
to docker-compose.
3. Added pypy-specific tox environments. And added a new
Dockerfile to build an image for the "test" container
that contains pypy and pypy3.
4. Added a `make clean` target. It removes containers but
requires the user to confirm.
5. Specify the depends_on order for slave -> master and
made all sentinels depend on the slave coming up. The
container running doesn't mean that redis is actually
ready though, so I wrapped the "test" target in the
Makefile with a wait script that waits until
master is responding on port 6379.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -17,3 +17,15 @@ deps = flake8 commands = flake8 skipsdist = true skip_install = true + +[testenv:pypy-plain] +basepython = pypy + +[testenv:pypy-hiredis] +basepython = pypy + +[testenv:pypy3-plain] +basepython = pypy3 + +[testenv:pypy3-hiredis] +basepython = pypy3 |