machine:
  pre:
    - sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.0-circleci'
    - sudo chmod 0755 /usr/bin/docker
  ruby:
    version: 2.1.9
  services:
    - docker

dependencies:
  cache_directories:
    - ~/docker
  post:
    - mkdir -p ~/docker
    - ls -al ~/docker/
    - bundle exec rake docker:ci_build

test:
  override:
    - bundle exec rake docker:test:_circleci_parallel:
        parallel: true

deployment:
  hub:
    branch: master
    commands:
      - bundle exec rake docker:publish

machine:
  pre:
    - sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.1-circleci'
    - sudo chmod 0755 /usr/bin/docker
  ruby:
    version: 2.1.9
  services:
    - docker

dependencies:
  cache_directories:
    - ~/docker
  post:
    - mkdir -p ~/docker
    - ls -al ~/docker/
    - bundle exec rake docker:ci_build

test:
  override:
    - bundle exec rake docker:test:_circleci_parallel:
        parallel: true

deployment:
  hub:
    branch: master
    commands:
      - bundle exec rake docker:publish

Upgrade Docker version to improve caching.
Upgrade Docker version to improve caching.
