<commit_before># Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
  django-1.11:
    build:
      docker:
        # specify the version you desire here
        # use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
        - image: circleci/python:3.6.1

      working_directory: ~/repo

      steps:
        - checkout

        - run:
            name: install dependencies
            command: |
              python3 -m venv venv
              . venv/bin/activate
              python3 setup.py develop
              pip install -r demoproject/requirements/django-1.11.txt

        - run:
            name: run tests
            command: |
              . venv/bin/activate
              cd ~/repo/demoproject
              ./manage.py test demoproject.documents --settings=demoproject.settings.basicserver

        - store_artifacts:
            path: test-reports
            destination: test-reports

  django-2.0:
    build:
      docker:
        # specify the version you desire here
        # use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
        - image: circleci/python:3.6.1

      working_directory: ~/repo

      steps:
        - checkout

        - run:
            name: install dependencies
            command: |
              python3 -m venv venv
              . venv/bin/activate
              python3 setup.py develop
              pip install -r demoproject/requirements/django-2.0.txt

        - run:
            name: run tests
            command: |
              . venv/bin/activate
              cd ~/repo/demoproject
              ./manage.py test demoproject.documents --settings=demoproject.settings.basicserver

        - store_artifacts:
            path: test-reports
            destination: test-reports

workflows:
  version: 2
  one_and_two:
    jobs:
      - django-1.11
      - django-2.0<commit_msg>circleci<commit_after># Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
  build:
    docker:
      - image: circleci/python:3.6.1

    working_directory: ~/repo

    steps:
      - checkout

      - run:
          name: install dependencies 1.11
          command: |
            python3 -m venv venv
            . venv/bin/activate
            python3 setup.py develop
            pip install -r demoproject/requirements/django-1.11.txt

      - run:
          name: run tests django 1.11
          command: |
            . venv/bin/activate
            cd ~/repo/demoproject
            ./manage.py test demoproject.documents --settings=demoproject.settings.basicserver

      - store_artifacts:
          path: test-reports
          destination: test-reports-1.11

      - run:
          name: install dependencies 2.0
          command: |
            cd ~/repo
            pip install -r demoproject/requirements/django-2.0.txt

      - run:
          name: run tests django 2.0
          command: |
            . venv/bin/activate
            cd ~/repo/demoproject
            ./manage.py test demoproject.documents --settings=demoproject.settings.basicserver

      - store_artifacts:
          path: test-reports
          destination: test-reports-2.0
{'fraction_non_alphanumeric': 0.08917197452229299, 'fraction_numerical': 0.02032150439793752, 'mean_word_length': 1.5079847908745247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1262893', 'n_tokens_mistral': 1009, 'n_tokens_neox': 933, 'n_words': 224}