machine:
  python:
    version: 2.7.10
  services: []
  #  - docker

dependencies:
  #cache_directories:
  #  - "~/docker"

  override:
    - pip install pre-commit ansible-lint

checkout:
  post:
    - rm -rf * .git* .pre-commit-config.yaml
    - git clone git@github.com:LREN-CHUV/mip-microservices-infrastructure.git .
    - git submodule sync
    - git submodule update --init

test:
  override:
    - pre-commit install
    - pre-commit run --all-files

machine:
  python:
    version: 2.7.10
  services: []
  #  - docker

dependencies:
  #cache_directories:
  #  - "~/docker"

  override:
    - pip install pre-commit ansible-lint

checkout:
  post:
    - git submodule sync
    - git submodule update --init

test:
  override:
    - pre-commit install
    - pre-commit run --all-files

Remove hack checkout on Circle CI
Remove hack checkout on Circle CI
