machine:
    node:
        version: 0.10.36
    services:
        - docker

test:
    post:
        - docker info
        - docker build -t quay.io/andrewrademacher/flight-deck .

deployment:
    hub:
        branch: master
        commands:
            - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
            - docker push quay.io/andrewrademacher/flight-deck

machine:
    node:
        version: 0.10.36
    services:
        - docker

general:
    branches:
        only:
            - master

test:
    post:
        - docker info
        - docker build -t quay.io/andrewrademacher/flight-deck .

deployment:
    hub:
        branch: master
        commands:
            - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS quay.io
            - docker push quay.io/andrewrademacher/flight-deck

Set build to only take place on master.
Set build to only take place on master.
