1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-11-27 22:18:22 +02:00

Upgrade docker-compose inside travis (fix build errors)

This commit is contained in:
Tim Möhlmann
2018-10-25 18:12:07 +03:00
parent 1e3392e417
commit a1ac7fc19c

View File

@@ -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