mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 03:24:01 +03:00
customize docker-compose version on travis-ci
This commit is contained in:
parent
45bbd27f39
commit
76e23d2cf5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user