You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
425 B
YAML
23 lines
425 B
YAML
sudo: required
|
|
services: docker
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- docker-ce
|
|
env:
|
|
- VERSION=$TRAVIS_BRANCH
|
|
|
|
script:
|
|
# Default to mailu for DOCKER_ORG
|
|
- if [ -z "$DOCKER_ORG" ]; then; export DOCKER_ORG="mailu"; fi
|
|
- docker-compose -f tests/build.yml -p Mailu build
|
|
- tests/compose/test-script.sh
|
|
|
|
deploy:
|
|
provider: script
|
|
script: bash tests/deploy.sh
|
|
on:
|
|
all_branches: true
|
|
condition: -n $DOCKER_UN
|
|
|