machine:
  services:
    - docker
  environment:
    DOCKER_HOST: http://localhost:2375
  java:
    version: openjdk7

dependencies:
  override:
    - echo 'DOCKER_OPTS="${DOCKER_OPTS} -H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock"' | sudo tee -a /etc/default/docker
    - sudo restart docker
    - mvn -U dependency:resolve generate-resources

test:
  override:
    - /bin/bash circle.sh:
        parallel: true

machine:
  services:
    - docker
  environment:
    DOCKER_HOST: http://localhost:2375
  java:
    version: openjdk7
  pre:
    - sudo curl -L -o /usr/bin/docker 'http://s3-external-1.amazonaws.com/circle-downloads/docker-1.6.2-circleci'; sudo chmod 0755 /usr/bin/docker; true

dependencies:
  override:
    - echo 'DOCKER_OPTS="${DOCKER_OPTS} -H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock"' | sudo tee -a /etc/default/docker
    - sudo restart docker
    - mvn -U dependency:resolve generate-resources

test:
  override:
    - /bin/bash circle.sh:
        parallel: true

Use a more recent Docker version (1.6.2)
Use a more recent Docker version (1.6.2)
