Browse Source

Limit branch builds to master.

feature/travis-only-master
Drew Larson 8 years ago
parent
commit
78c7eb68e4
  1. 5
      .travis.yml

5
.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";

Loading…
Cancel
Save