Files
OSIT-Mailman3/tests/generate_tests.sh
2017-05-23 17:00:42 -07:00

20 lines
266 B
Bash

#!/bin/sh
if [ "$TRAVIS_BRANCH" = "master" ]; then
TAG="latest"
else
TAG="$TRAVIS_BRANCH"
fi
cat > docker-test.yaml <<EOF
version: '2'
services:
mailman-core:
image: maxking/mailman-core:$TAG
mailman-web:
image: maxking/mailman-web:$TAG
EOF