<commit_before>language: python

sudo: false   # use container-based infrastructure

python:
  - "3.4"
  - "3.5"

addons:
    apt:
        packages:
            - gfortran
            - libblas-dev
            - liblapack-dev
            - libqt4-dev

cache:
    apt: true   # does not work for public repos
    directories:
        - $HOME/.cache/pip
        - $HOME/.ccache
        - $HOME/nltk_data

before_cache:   # prevent logs from caching
    - rm -f $HOME/.cache/pip/log/debug.log

before_install:
    - pip install -U setuptools pip wheel
    - pip install codecov

install:
    - travis_wait pip install -r requirements.txt

script:
    - coverage run setup.py test

after_success:
    - codecov<commit_msg>Travis: Run setup.py develop to write version.py<commit_after>language: python

sudo: false   # use container-based infrastructure

python:
  - "3.4"
  - "3.5"

addons:
    apt:
        packages:
            - gfortran
            - libblas-dev
            - liblapack-dev
            - libqt4-dev

cache:
    apt: true   # does not work for public repos
    directories:
        - $HOME/.cache/pip
        - $HOME/.ccache
        - $HOME/nltk_data

before_cache:   # prevent logs from caching
    - rm -f $HOME/.cache/pip/log/debug.log

before_install:
    - pip install -U setuptools pip wheel
    - pip install codecov

install:
    - travis_wait pip install -r requirements.txt
    - python setup.py develop   # assure version.py is present; required for imports

script:
    - coverage run setup.py test

after_success:
    - codecov
{'fraction_non_alphanumeric': 0.08997429305912596, 'fraction_numerical': 0.006426735218508998, 'mean_word_length': 1.9266917293233083, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '284267', 'n_tokens_mistral': 509, 'n_tokens_neox': 499, 'n_words': 137}