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.
34 lines
722 B
YAML
34 lines
722 B
YAML
sudo: required
|
|
services: docker
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- docker-ce
|
|
env:
|
|
- MAILU_VERSION=$TRAVIS_BRANCH
|
|
language: python
|
|
python:
|
|
- "3.6"
|
|
install:
|
|
- pip install -r tests/requirements.txt
|
|
|
|
before_script:
|
|
- docker-compose -f tests/build.yml build
|
|
|
|
script:
|
|
# test.py, test name and timeout between start and tests.
|
|
- python tests/compose/test.py core 1
|
|
- python tests/compose/test.py fetchmail 1
|
|
- travis_wait python tests/compose/test.py filters 10
|
|
- python tests/compose/test.py rainloop 1
|
|
- python tests/compose/test.py roundcube 1
|
|
- python tests/compose/test.py webdav 1
|
|
|
|
deploy:
|
|
provider: script
|
|
script: bash tests/deploy.sh
|
|
on:
|
|
all_branches: true
|
|
condition: -n $DOCKER_UN
|
|
|