Browse Source

Limit branch builds to master. (#50)

issue52
Drew Larson 8 years ago
committed by GitHub
parent
commit
83c7b5071b
  1. 5
      .travis.yml

5
.travis.yml

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

Loading…
Cancel
Save