Upgrade docker-compose inside travis (fix build errors)

master
Tim Möhlmann 6 years ago
parent 1e3392e417
commit a1ac7fc19c
No known key found for this signature in database
GPG Key ID: AFABC30066A39335

@ -4,6 +4,7 @@ addons:
apt: apt:
packages: packages:
- docker-ce - docker-ce
env: env:
- MAILU_VERSION=$TRAVIS_BRANCH - MAILU_VERSION=$TRAVIS_BRANCH
language: python language: python
@ -11,8 +12,11 @@ python:
- "3.6" - "3.6"
install: install:
- pip install -r tests/requirements.txt - pip install -r tests/requirements.txt
- sudo curl -L https://github.com/docker/compose/releases/download/1.23.0-rc3/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
- sudo chmod +x /usr/local/bin/docker-compose
before_script: before_script:
- docker-compose -v
- docker-compose -f tests/build.yml build - docker-compose -f tests/build.yml build
script: script:
@ -30,4 +34,3 @@ deploy:
on: on:
all_branches: true all_branches: true
condition: -n $DOCKER_UN condition: -n $DOCKER_UN

Loading…
Cancel
Save