1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/.travis.yml

38 lines
1.0 KiB
YAML
Raw Normal View History

2018-09-24 01:23:07 +02:00
sudo: required
services: docker
addons:
apt:
packages:
- docker-ce
2018-09-24 01:23:07 +02:00
env:
- MAILU_VERSION=$TRAVIS_BRANCH
language: python
python:
- "3.6"
install:
- pip install -r tests/requirements.txt
- 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
2018-09-24 01:23:07 +02:00
before_script:
- docker-compose -v
- docker-compose -f tests/build.yml build
2018-11-02 15:32:36 +02:00
- sudo -- sh -c 'mkdir -p /mailu && cp -r tests/certs /mailu && chmod 600 /mailu/certs/*'
2018-11-02 15:17:59 +02:00
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
2018-10-04 13:42:34 +02:00
deploy:
provider: script
script: bash tests/deploy.sh
2018-10-05 12:02:10 +02:00
on:
all_branches: true
condition: -n $DOCKER_UN