<commit_before>language: python

python:
  - "3.5"

branches:
  only:
    - master
    - develop

env:
  global:

cache:
  pip: true
  directories:
    - $HOME/nltk_data

before_install:
  - printenv # Just for debugging purposes
  - pip install --no-clean git+https://github.com/Rostlab/nalaf.git@feature/Experimental
  - printf 'nalaf commit: ' && cd /tmp/pip-*-build && git rev-parse HEAD  # **nalaf**: log the exact commit for debugging purposes
  - python -m nalaf.download_corpora
  - pip install codecov pytest-cov
  - cd $TRAVIS_BUILD_DIR

install:
  - printf 'LocText commit: ' && git rev-parse HEAD  # **LocText**: log the exact commit for debugging purposes
  - pip install .
  - python -m loctext.download_data

script:
  - time py.test -v --cov=./

after_success:
  - codecov

notifications:
  slack:
    rooms:
      - secure: <KEY>
<commit_msg>try this<commit_after>language: python

python:
  - "3.5"

branches:
  only:
    - master
    - develop

cache:
  pip: true
  directories:
    - $HOME/nltk_data

before_install:
  - printenv # Just for debugging purposes
  - pip install --no-clean git+https://github.com/Rostlab/nalaf.git@feature/Experimental
  - printf 'nalaf commit: ' && cd /tmp/pip-*-build && git rev-parse HEAD  # **nalaf**: log the exact commit for debugging purposes
  - python -m nalaf.download_corpora
  - pip install codecov pytest-cov
  - cd $TRAVIS_BUILD_DIR

install:
  - printf 'LocText commit: ' && git rev-parse HEAD  # **LocText**: log the exact commit for debugging purposes
  - pip install .
  - python -m loctext.download_data

script:
  - time py.test -v --cov=./

after_success:
  - codecov

notifications:
  slack:
    rooms:
      - secure: <KEY>

{'fraction_non_alphanumeric': 0.11903358868591632, 'fraction_numerical': 0.002357100766057749, 'mean_word_length': 2.88558352402746, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1394618', 'n_tokens_mistral': 602, 'n_tokens_neox': 587, 'n_words': 163}