diff options
author | Andrew Brookins <andrew.brookins@redislabs.com> | 2020-07-13 19:14:45 +0000 |
---|---|---|
committer | Andrew Brookins <andrew.brookins@redislabs.com> | 2020-07-13 19:14:45 +0000 |
commit | 867b28d341b42124e4af7e787312354544391183 (patch) | |
tree | 0aa3e72e82f25f5c675841d5da6661da15cbdd36 | |
parent | b4b1d9702964aee9ba38d16a067cf5dbc21d5d44 (diff) | |
download | redis-py-867b28d341b42124e4af7e787312354544391183.tar.gz |
Install the version of compose that we need
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | CONTRIBUTING.rst | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 8b51c30..62e0172 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,12 @@ language: python env: - DOCKER_COMPOSE_VERSION=1.26.2 +before_install: + - sudo rm /usr/local/bin/docker-compose + - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose + - chmod +x docker-compose + - sudo mv docker-compose /usr/local/bin + services: - docker diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 7e623c4..177dfaa 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -33,6 +33,18 @@ Here's how to get started with your code contribution: 3. Make sure the tests pass by running: `make test` 4. If you like the change and think the project could use it, send a pull request +Troubleshooting +^^^^^^^^^^^^^^^ + +If you get any errors when running `make build` or `make test`, make sure that you +are using supported versions of Docker and docker-compose. + +The included Dockerfiles and docker-compose.yml file work with the following +versions of Docker and docker-compose: + +* Docker 19.03.12 +* docker-compose 1.26.2 + How to Report a Bug ------------------- |