1
0
mirror of https://github.com/fspc/workstand.git synced 2025-02-23 01:13:22 -05:00

Limit branch builds to master. (#50)

This commit is contained in:
Drew Larson 2017-05-18 08:21:24 -06:00 committed by GitHub
parent 96dd5aa925
commit 83c7b5071b

View File

@ -3,8 +3,9 @@ services:
- docker
before_install:
- docker build -t bcbc/workstand:production .
after_success:
branches:
only:
- master
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";