<commit_before>language: python

python:
    - '2.7'

env:
    - TRANSLATE=true

install:
    - pip install -r requirements.txt
    - pip install coveralls
    - cd ${HOME}
    - wget https://github.com/cornell-brg/pydgin/archive/master.zip
    - unzip master.zip
    - mv pydgin-master pydgin
    - cd ${HOME}
    - wget https://bitbucket.org/pypy/pypy/get/default.tar.gz
    - mkdir pypy && tar xf default.tar.gz -C pypy --strip-components 1
    - cd $TRAVIS_BUILD_DIR
    - export PYTHONPATH=${PYTHONPATH}:${HOME}/pydgin/:${HOME}/pypy

script:
    - py.test -n 4 --cov-report term-missing --cov epiphany epiphany/test/<commit_msg>Don't mask our virtualwnv's pytest with PyPy's pytest<commit_after>language: python

python:
    - '2.7'

env:
    - TRANSLATE=true

install:
    - pip install -r requirements.txt
    - pip install coveralls
    - cd ${HOME}
    - wget https://github.com/cornell-brg/pydgin/archive/master.zip
    - unzip master.zip
    - mv pydgin-master pydgin

    # Download & extract latest PyPy source code
    # Exclude bundled versions of py, pytest, & pytest-cov
    - cd ${HOME}
    - wget https://bitbucket.org/pypy/pypy/get/default.tar.gz
    - tar xf default.tar.gz --transform 's/pypy-pypy-[0-9a-f]\+/pypy/'
                            --exclude 'pypy-pypy-*/py/*'
                            --exclude 'pypy-pypy-*/_pytest/*'
                            --exclude 'pypy-pypy-*/pytest.py'
                            --exclude 'pypy-pypy-*/pytest_cov.py'

    - cd $TRAVIS_BUILD_DIR
    - export PYTHONPATH=${PYTHONPATH}:${HOME}/pydgin/:${HOME}/pypy

script:
    - py.test -n 4 --cov-report term-missing --cov epiphany epiphany/test/
{'fraction_non_alphanumeric': 0.14251352976548406, 'fraction_numerical': 0.005411906193625977, 'mean_word_length': 2.0871985157699444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2788147', 'n_tokens_mistral': 637, 'n_tokens_neox': 626, 'n_words': 121}