machine:
  services:
    - docker

dependencies:
  override:
    - >
      docker run
      --env CIRCLE_BRANCH
      --env CIRCLE_PROJECT_REPONAME
      --env CIRCLE_TOKEN
      --env GCR_JSON_KEY
      --volume /var/run/docker.sock:/var/run/docker.sock
      codeclimate/patrick pull || true
    - make image

test:
  override:
    - make citest

deployment:
  registry:
    branch: master
    commands:
      - >
        docker run
          --env CIRCLE_BUILD_NUM
          --env CIRCLE_PROJECT_REPONAME
          --env GCR_JSON_KEY
          --volume /var/run/docker.sock:/var/run/docker.sock
          codeclimate/patrick push gcr

notify:
  webhooks:
    - url: https://cc-slack-proxy.herokuapp.com/circle

machine:
  services:
    - docker

dependencies:
  override:
    - >
      docker run
      --env CIRCLE_BRANCH
      --env CIRCLE_PROJECT_REPONAME
      --env CIRCLE_TOKEN
      --env GCR_JSON_KEY
      --volume /var/run/docker.sock:/var/run/docker.sock
      codeclimate/patrick pull || true
    - make image

test:
  override:
    - make citest

deployment:
  registry:
    branch: master
    commands:
      - >
        docker run
        --env CIRCLE_BUILD_NUM
        --env CIRCLE_PROJECT_REPONAME
        --env GCR_JSON_KEY
        --volume /var/run/docker.sock:/var/run/docker.sock
        codeclimate/patrick push gcr

notify:
  webhooks:
    - url: https://cc-slack-proxy.herokuapp.com/circle

Fix CircleCI multiline docker run invocation
Fix CircleCI multiline docker run invocation
