machine:
  environment:
    ENV: dev
    SECRET_KEY: testing-on-circle-ci
    POSTGRES_USER: ubuntu
    POSTGRES_HOST: localhost
    UNPP_LOGS_PATH: /tmp

dependencies:
  pre:
    - pip install -r backend/requirements/dev.pip

test:
  override:
    - cd backend && python manage.py test --noinput --parallel
    - cd backend && flake8

machine:
  environment:
    ENV: dev
    SECRET_KEY: testing-on-circle-ci
    POSTGRES_USER: ubuntu
    POSTGRES_HOST: localhost
    UNPP_LOGS_PATH: /home/ubuntu/logs

dependencies:
  pre:
    - mkdir -p /home/ubuntu/logs
    - pip install -r backend/requirements/dev.pip

test:
  override:
    - cd backend && python manage.py test --noinput --parallel
    - cd backend && flake8

Use ubuntu dir for logs
Use ubuntu dir for logs
