diff options
author | Andrew Brookins <andrew.brookins@redislabs.com> | 2020-07-13 19:06:14 +0000 |
---|---|---|
committer | Andrew Brookins <andrew.brookins@redislabs.com> | 2020-07-13 19:06:14 +0000 |
commit | af3771b1479caec3e7396b952cb78a60a6e98253 (patch) | |
tree | 5ef5979be8268f8dd4b8c50aa4e3ba8378fb7329 | |
parent | c5c9e81a40d8899b3f7c1ca72cdd7502dfc3fa8c (diff) | |
download | redis-py-af3771b1479caec3e7396b952cb78a60a6e98253.tar.gz |
Attempt to use docker for travis testing
-rw-r--r-- | .travis.yml | 46 |
1 files changed, 7 insertions, 39 deletions
diff --git a/.travis.yml b/.travis.yml index 05dd94c..615a0c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,42 +1,10 @@ language: python -cache: pip -matrix: - include: - - env: TOXENV=flake8 - - python: 2.7 - env: TOXENV=py27-plain - - python: 2.7 - env: TOXENV=py27-hiredis - - python: 3.5 - env: TOXENV=py35-plain - - python: 3.5 - env: TOXENV=py35-hiredis - - python: 3.6 - env: TOXENV=py36-plain - - python: 3.6 - env: TOXENV=py36-hiredis - - python: 3.7 - env: TOXENV=py37-plain - - python: 3.7 - env: TOXENV=py37-hiredis - - python: 3.8 - 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 + +services: + - docker + before_install: - - wget https://github.com/antirez/redis/archive/6.0.5.tar.gz && mkdir redis_install && tar -xvzf 6.0.5.tar.gz -C redis_install && cd redis_install/redis-6.0.5 && make && src/redis-server --daemonize yes && cd ../.. - - redis-cli info -install: - - pip install codecov tox + - make build + script: - - tox -after_success: - - "if [[ $TOXENV != 'flake8' ]]; then codecov; fi" + - make test |