Modify setup templates to allow for DOCKER_ORG and VERSION override. (Needed for Travis)

This commit is contained in:
Tim Möhlmann
2018-10-25 16:35:08 +03:00
parent 928fbb372d
commit 72e931f4b4
4 changed files with 34 additions and 35 deletions

View File

@@ -5,7 +5,7 @@ addons:
packages:
- docker-ce
env:
- VERSION=$TRAVIS_BRANCH
- MAILU_VERSION=$TRAVIS_BRANCH
language: python
python:
- "3.6"
@@ -13,10 +13,9 @@ install:
- pip install -r tests/requirements.txt
script:
# Default to mailu for DOCKER_ORG
- if [ -z "$DOCKER_ORG" ]; then export DOCKER_ORG="mailu"; fi
- docker-compose -f tests/build.yml build
- python tests/compose/test.py
# test.py, test name and timeout between start and tests.
- python tests/compose/test.py core 1
deploy:
provider: script