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