<commit_before>before_install:
  - "pip install --upgrade pip wheel pytest requests"
language: python
cache: apt
sudo: false
addons:
    apt:
        packages:
            - language-pack-en-base
            - enchant
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
matrix:
  include:
    - python: "3.5"
      env: NMODE=flake8
env:
    NMODE=nikola
install:
  - "if [[ $NMODE == 'nikola' ]]; then wget https://github.com/getnikola/wheelhouse/archive/$(scripts/getpyver.py).zip; fi"
  - "if [[ $NMODE == 'nikola' ]]; then unzip $(scripts/getpyver.py).zip; fi"
  - "if [[ $NMODE == 'nikola' ]]; then pip install --use-wheel --no-index --find-links=wheelhouse-$(scripts/getpyver.py short) lxml Pillow; fi"
  - "if [[ $NMODE == 'nikola' ]]; then pip install git+https://github.com/getnikola/nikola.git#egg=Nikola; fi"
  - "if [[ $NMODE == 'nikola' ]]; then find v7/*/ | grep -v import_tumblr | grep 'requirements.txt' | xargs cat | xargs pip install && true; fi"
  - "if [[ $NMODE == 'flake8' ]]; then pip install flake8; fi"
script:
  - "if [[ $NMODE == 'nikola' ]]; then py.test tests/; fi"
  - "if [[ $NMODE == 'flake8' ]]; then flake8 v*/; fi"
notifications:
  irc:
    channels:
      - "chat.freenode.net#nikola"
    template:
      - "[PLUGINS] %{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
      - "[PLUGINS] Change view: %{compare_url}"
      - "[PLUGINS] Build details: %{build_url}"
    skip_join: true
    use_notice: true
<commit_msg>cat | sort | uniq<commit_after>before_install:
  - "pip install --upgrade pip wheel pytest requests"
language: python
cache: apt
sudo: false
addons:
    apt:
        packages:
            - language-pack-en-base
            - enchant
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
matrix:
  include:
    - python: "3.5"
      env: NMODE=flake8
env:
    NMODE=nikola
install:
  - "if [[ $NMODE == 'nikola' ]]; then wget https://github.com/getnikola/wheelhouse/archive/$(scripts/getpyver.py).zip; fi"
  - "if [[ $NMODE == 'nikola' ]]; then unzip $(scripts/getpyver.py).zip; fi"
  - "if [[ $NMODE == 'nikola' ]]; then pip install --use-wheel --no-index --find-links=wheelhouse-$(scripts/getpyver.py short) lxml Pillow; fi"
  - "if [[ $NMODE == 'nikola' ]]; then pip install git+https://github.com/getnikola/nikola.git#egg=Nikola; fi"
  - "if [[ $NMODE == 'nikola' ]]; then find v7/*/ | grep -v import_tumblr | grep 'requirements.txt' | xargs cat | sort | uniq | xargs pip install && true; fi"
  - "if [[ $NMODE == 'flake8' ]]; then pip install flake8; fi"
script:
  - "if [[ $NMODE == 'nikola' ]]; then py.test tests/; fi"
  - "if [[ $NMODE == 'flake8' ]]; then flake8 v*/; fi"
notifications:
  irc:
    channels:
      - "chat.freenode.net#nikola"
    template:
      - "[PLUGINS] %{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
      - "[PLUGINS] Change view: %{compare_url}"
      - "[PLUGINS] Build details: %{build_url}"
    skip_join: true
    use_notice: true

{'fraction_non_alphanumeric': 0.19233355749831876, 'fraction_numerical': 0.010759919300605245, 'mean_word_length': 2.92998678996037, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3158383', 'n_tokens_mistral': 1161, 'n_tokens_neox': 1128, 'n_words': 268}