From 83c7b5071b9943fc428d80adbc8dc0523a6e1883 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Thu, 18 May 2017 08:21:24 -0600 Subject: [PATCH] Limit branch builds to master. (#50) --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f38373f..9763939 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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";