customize docker-compose version on travis-ci

This commit is contained in:
Aaron Eikenberry 2016-03-02 22:43:17 -06:00
parent 45bbd27f39
commit 76e23d2cf5

View File

@ -6,12 +6,21 @@ services:
- docker
language: python
python: 3.5
env:
DOCKER_COMPOSE_VERSION: 1.6.0
- TOX_ENV=py27
- TOX_ENV=py34
- TOX_ENV=py35
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
script:
- tox -e $TOX_ENV
- sh tests/test_docker.sh