<commit_before>language: python

python:
    - 2.6
    - 2.7
    - 3.2
    - 3.3
    - 3.4

env:
    global:
        - PIP_WHEEL_COMMAND="pip install --find-links http://wheels.astropy.org/ --use-wheel"

before_install:

    # Use utf8 encoding. Should be default, but this is insurance against
    # future changes
    - export PYTHONIOENCODING=UTF8

    # Install the pip that supports wheel
    - pip install setuptools --upgrade
    - pip install pip --upgrade
    - pip install wheel

install:
    - $PIP_WHEEL_COMMAND "pytest<2.6"
    - $PIP_WHEEL_COMMAND "Sphinx"
    - $PIP_WHEEL_COMMAND "pytest-cov"
    - $PIP_WHEEL_COMMAND "coveralls"
    - $PIP_WHEEL_COMMAND "Cython"

before_script:
    # Some of the tests use git commands that require a user to be configured
    - git config --global user.name "<NAME>"
    - git config --global user.email "<EMAIL>"

script:
    - py.test

after_success:
    - coveralls
<commit_msg>Apparently Jinja2 v2.7 dropped support for Python 3.2, but when we install Sphinx it's pulling in the latest Jinja2 release which breaks the build for Python 3.2.  So ensure an older version is used (Sphinx is requesting >=2.3 so this should be okay).<commit_after>language: python

python:
    - 2.6
    - 2.7
    - 3.2
    - 3.3
    - 3.4

env:
    global:
        - PIP_WHEEL_COMMAND="pip install --find-links http://wheels.astropy.org/ --use-wheel"

before_install:

    # Use utf8 encoding. Should be default, but this is insurance against
    # future changes
    - export PYTHONIOENCODING=UTF8

    # Install the pip that supports wheel
    - pip install setuptools --upgrade
    - pip install pip --upgrade
    - pip install wheel

install:
    - $PIP_WHEEL_COMMAND "pytest<2.6"
    - $PIP_WHEEL_COMMAND "Jinja2<2.7"
    - $PIP_WHEEL_COMMAND "Sphinx"
    - $PIP_WHEEL_COMMAND "pytest-cov"
    - $PIP_WHEEL_COMMAND "coveralls"
    - $PIP_WHEEL_COMMAND "Cython"

before_script:
    # Some of the tests use git commands that require a user to be configured
    - git config --global user.name "<NAME>"
    - git config --global user.email "<EMAIL>"

script:
    - py.test

after_success:
    - coveralls

{'fraction_non_alphanumeric': 0.09710550887021475, 'fraction_numerical': 0.019140989729225025, 'mean_word_length': 2.5896147403685092, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 8, 'https://': 0, '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': '2295433', 'n_tokens_mistral': 768, 'n_tokens_neox': 750, 'n_words': 220}