version: 2.1
jobs:
  build:
    working_directory: ~/drf-flex-fields
    docker:
      - image: circleci/python:3.7.3

    steps:
      - checkout
      - run: sudo chown -R circleci:circleci /usr/local/bin
      - run: sudo chown -R circleci:circleci /usr/local/lib/python3.7/site-packages
      - restore_cache:
          key: deps9-{{ .Branch }}-{{ checksum "requirements.txt" }}
      - run:
          name: Install Python dependencies
          command: |
            pip install -r requirements.txt --user
      - save_cache:
          key: deps9-{{ .Branch }}-{{ checksum "requirements.txt" }}
          paths:
            - ".venv"
            - "/usr/local/bin"
            - "/usr/local/lib/python3.7/site-packages"
      - run:
          name: Run Tests
          command: |
            python manage.py test
Add basic Circle-ci for testing and maintenance.
Add basic Circle-ci for testing and maintenance.

