build:
  image: python:3.4
  commands:
    - pip install -r requirements.txt
    - pip install -r dev-requirements.txt
    # - flake8 setup.py drone_tower bin tests
    # - nosetests -s --with-coverage --cover-package drone_tower -v

plugin:
  name: Marathon
  desc: Deploy an application to a Marathon cluster
  type: deploy
  image: e20co/drone-marathon
  labels:
    - deploy
    - marathon
    - mesos

build:
  image: python:3.4
  commands:
    - pip install -r requirements.txt
    - pip install -r dev-requirements.txt
    # - flake8 setup.py drone_tower bin tests
    # - nosetests -s --with-coverage --cover-package drone_tower -v

publish:
  docker:
    username: $$DOCKER_USER
    password: $$DOCKER_PASS
    email: $$DOCKER_EMAIL
    repo: e20co/drone-marathon
    tag: latest
    file: Dockerfile
    when:
      branch: master

plugin:
  name: Marathon
  desc: Deploy an application to a Marathon cluster
  type: deploy
  image: e20co/drone-marathon
  labels:
    - deploy
    - marathon
    - mesos

Deploy image to DockerHub using Drone
Deploy image to DockerHub using Drone

Now _that's_ what I call "eating your own dogfood"!
