test:
  pre:
    - "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
  post:
    - bundle exec pronto run -f github -c=$(git log --pretty=format:%H | tail -1)
    - bundle exec pronto run -f text -c=$(git log --pretty=format:%H | tail -1) --exit-code
deployment:
  master:
    branch: master
    commands:
      - git push git@heroku.com:master-bestpractices.git $CIRCLE_SHA1:refs/heads/master
      - heroku run rake db:migrate --app master-bestpractices:
          timeout: 400 # if your deploys take a long time
  staging:
    branch: staging
    commands:
      - git push git@heroku.com:staging-bestpractices.git $CIRCLE_SHA1:refs/heads/master
      - heroku run rake db:migrate --app staging-bestpractices:
          timeout: 400 # if your deploys take a long time
  production:
    branch: production
    commands:
      - git push git@heroku.com:production-bestpractices.git $CIRCLE_SHA1:refs/heads/master
      - heroku run rake db:migrate --app production-bestpractices:
          timeout: 400 # if your deploys take a long time
general:
  artifacts:
    - 'coverage'
    - 'log/test.log'
    - 'tmp/capybara'

test:
  pre:
    - "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
  post:
    - bundle exec pronto run -f github text -c=$(git log --pretty=format:%H | tail -1) --exit-code
deployment:
  master:
    branch: master
    commands:
      - git push git@heroku.com:master-bestpractices.git $CIRCLE_SHA1:refs/heads/master
      - heroku run rake db:migrate --app master-bestpractices:
          timeout: 400 # if your deploys take a long time
  staging:
    branch: staging
    commands:
      - git push git@heroku.com:staging-bestpractices.git $CIRCLE_SHA1:refs/heads/master
      - heroku run rake db:migrate --app staging-bestpractices:
          timeout: 400 # if your deploys take a long time
  production:
    branch: production
    commands:
      - git push git@heroku.com:production-bestpractices.git $CIRCLE_SHA1:refs/heads/master
      - heroku run rake db:migrate --app production-bestpractices:
          timeout: 400 # if your deploys take a long time
general:
  artifacts:
    - 'coverage'
    - 'log/test.log'
    - 'tmp/capybara'

Update pronto to use multiple formatters
Update pronto to use multiple formatters
