<commit_before>language: python

python:
  - 2.7

install:
  - pip install requests markdown beautifulsoup4

script:
  - python check_urls.py free-software-testing-books-ru.md
  - python check_urls.py free-software-testing-books.md

notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: change
    on_failure: always<commit_msg>Test in both Python 2 and 3 with flake8 tests also<commit_after>language: python

python:
  - "2.7"
  - "3.6"

matrix:
  allow_failures:
    - python: "3.6"

install:
  - pip install requests markdown beautifulsoup4 flake8

before_script:
  # stop the build if there are Python syntax errors or undefined names
  - time flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
  # exit-zero treats all errors as warnings.  The GitHub editor is 127 chars wide
  - time flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

script:
  - python check_urls.py free-software-testing-books-ru.md
  - python check_urls.py free-software-testing-books.md

notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: change
    on_failure: always
{'fraction_non_alphanumeric': 0.09956331877729258, 'fraction_numerical': 0.03406113537117904, 'mean_word_length': 3.213235294117647, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1137152', 'n_tokens_mistral': 407, 'n_tokens_neox': 388, 'n_words': 104}