Enable Travis autobuilds for 1.5

This is a simplified backport from master, whitout any testing.
This commit is contained in:
Tim Möhlmann
2018-12-15 20:52:57 +02:00
parent cd80fda12e
commit f02a183694
3 changed files with 83 additions and 0 deletions

View File

@@ -1,2 +1,29 @@
sudo: required
services: docker
addons:
apt:
packages:
- docker-ce
env:
- MAILU_VERSION=$TRAVIS_BRANCH
language: python
python:
- "3.6"
install:
- 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:
- docker-compose -v
- docker-compose -f tests/build.yml build
script:
- /bin/true
deploy:
provider: script
script: bash tests/deploy.sh
on:
all_branches: true
condition: -n $DOCKER_UN