2018-09-24 01:23:07 +02:00
|
|
|
sudo: required
|
|
|
|
services: docker
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- docker-ce
|
|
|
|
env:
|
|
|
|
- VERSION=$TRAVIS_BRANCH
|
|
|
|
|
2017-11-04 23:47:40 +02:00
|
|
|
script:
|
2018-10-06 16:24:42 +02:00
|
|
|
# Default to mailu for DOCKER_ORG
|
|
|
|
- if [ -z "$DOCKER_ORG" ]; then; export DOCKER_ORG="mailu"; fi
|
2018-10-04 13:42:34 +02:00
|
|
|
- docker-compose -f tests/build.yml -p Mailu build
|
|
|
|
- tests/compose/test-script.sh
|
|
|
|
|
2018-10-05 10:51:35 +02:00
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: bash tests/deploy.sh
|
2018-10-05 12:02:10 +02:00
|
|
|
on:
|
|
|
|
all_branches: true
|
2018-10-06 16:04:14 +02:00
|
|
|
condition: -n $DOCKER_UN
|
2018-10-05 10:51:35 +02:00
|
|
|
|