<commit_before>sudo: false

language: python

python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"

cache:
  directories:
  - $HOME/.cache/pip
before_cache:
  - rm -f $HOME/.cache/pip/log/debug.log

install:
- pip install -r requirements_test.txt
- pip install python-geohash==0.8.5
- pip install -e .
- pip install codecov

script: py.test -v --cov

after_success:
- codecov<commit_msg>Run doctest on travis<commit_after>sudo: false

language: python

python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"

cache:
  directories:
  - $HOME/.cache/pip
before_cache:
  - rm -f $HOME/.cache/pip/log/debug.log

install:
- pip install -r requirements_test.txt
- pip install python-geohash==0.8.5
- pip install -e .
- pip install codecov
- pip install sphinx

script:
- py.test -v --cov
- cd docs && make doctest

after_success:
- codecov
{'fraction_non_alphanumeric': 0.1591737545565006, 'fraction_numerical': 0.026731470230862697, 'mean_word_length': 2.850467289719626, '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': '7405772', 'n_tokens_mistral': 352, 'n_tokens_neox': 341, 'n_words': 83}