Use Circle CI for faster builds. (#181)

Move to Circle CI from Travis CI.
This commit is contained in:
Abhilash Raj
2017-11-05 18:41:00 -08:00
committed by GitHub
parent 389d166f2b
commit 12e7761c1f
7 changed files with 121 additions and 27 deletions

View File

@@ -1,16 +1,10 @@
#!/bin/sh
if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ ! -z $DEV ] ; then
echo "Travis event type is: $TRAVIS_EVENT_TYPE"
if [ "$EVENT_TYPE" = "cron" ] || [ ! -z $DEV ] ; then
echo "Event type is: $EVENT_TYPE"
echo "This is a development version build: $DEV"
TAG="rolling"
else
if [ "$TRAVIS_BRANCH" = "master" ]; then
TAG="latest"
else
TAG="$TRAVIS_BRANCH"
fi
fi
@@ -19,10 +13,10 @@ version: '2'
services:
mailman-core:
image: maxking/mailman-core:$TAG
image: ${!REG_URL}/maxking/mailman-core:$TAG
mailman-web:
image: maxking/mailman-web:$TAG
image: ${!REG_URL}/maxking/mailman-web:$TAG
environment:
- SECRET_KEY=abcdefghijklmnopqrstuv
EOF