machine:
  services:
    - docker

dependencies:
  override:
    - docker info
    - docker pull insighttoolkit/minimalpathextraction-test

test:
  override:
    - mkdir ~/ITKMinimialPathExtraction-build
    - docker run -v ~/ITKMinimalPathExtraction:/usr/src/ITKMinimalPathExtraction -v ~/ITKMinimalPathExtraction-build:/usr/src/ITKMinimalPathExtraction-build insighttoolkit/minimalpathextraction-test /usr/src/ITKMinimalPathExtraction/test/Docker/test.sh


machine:
  services:
    - docker

dependencies:
  override:
    - docker info
    - docker pull insighttoolkit/minimalpathextraction-test
    - ~/ITKMinimalPathExtraction/test/Docker/build.sh

test:
  override:
    - mkdir ~/ITKMinimialPathExtraction-build
    - docker run -v ~/ITKMinimalPathExtraction:/usr/src/ITKMinimalPathExtraction -v ~/ITKMinimalPathExtraction-build:/usr/src/ITKMinimalPathExtraction-build insighttoolkit/minimalpathextraction-test /usr/src/ITKMinimalPathExtraction/test/Docker/test.sh


Build the Docker image in CircleCI build for the test.
ENH: Build the Docker image in CircleCI build for the test.

In case the Dockerfile has been modified locally in the repository.
