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

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

test:
  override:
    - cd backend && python manage.py test --noinput
    - 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
    UNPP_UPLOADS_PATH: /home/ubuntu/uploads
  python:
    version: 3.6.2

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

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

Update Circle to run on py3
Update Circle to run on py3
