language: python
sudo: required
services:
  - docker
env:
  matrix:
    - REDIS_VERSION=2.6
    - REDIS_VERSION=2.8
    - REDIS_VERSION=3.0
before_install:
  - docker pull redis:$REDIS_VERSION
  - docker run -d -p 6379:6379 redis
install:
  - pip install tox
script:
  - make test-tox

language: python
sudo: required
services:
  - docker
env:
  matrix:
    - REDIS_VERSION=2.6
    - REDIS_VERSION=2.8
    - REDIS_VERSION=3.0
before_install:
  - docker pull redis:$REDIS_VERSION
  - docker run -d -p 6379:6379 redis:$REDIS_VERSION
install:
  - pip install tox
script:
  - make test-tox

Fix running of redis containers.
Fix running of redis containers.

They should be pinpointed to the version in the matrix.