<commit_before>language: cpp
compiler: 
  - gcc
#  - clang
sudo: required
dist: trusty
      
install:
  # CppCheck
  - sudo apt-get install -qq cppcheck

script:
  # We need to increase tolerance for TravisCI since there are unpredictable effects.
  - make "COVERAGE_FLAGS=-DTOLERANCE=100 -fprofile-arcs -ftest-coverage" COVERAGE_LIBS=-lgcov
  # CppCheck
  - make cppcheck || cat cppcheck-report.xml
  # Tests
  - make test
  # Gcov
  - cd src/ && gcov -r  knarr.cpp && cd ..

after_success:
    # codecov.io
    - bash <(curl -s https://codecov.io/bash) -X gcov -f src/knarr.cpp.gcov

notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: never # default: change
    on_failure: always # default: always
  
<commit_msg>[IMP] Increased tolerance on TravisCI tests.<commit_after>language: cpp
compiler: 
  - gcc
#  - clang
sudo: required
dist: trusty
      
install:
  # CppCheck
  - sudo apt-get install -qq cppcheck

script:
  # We need to increase tolerance for TravisCI since there are unpredictable effects.
  - make "COVERAGE_FLAGS=-DTOLERANCE=100 -fprofile-arcs -ftest-coverage" COVERAGE_LIBS=-lgcov
  # CppCheck
  - make cppcheck || cat cppcheck-report.xml
  # Tests
  - make "COVERAGE_FLAGS=-DTOLERANCE=100 -fprofile-arcs -ftest-coverage" COVERAGE_LIBS=-lgcov test
  # Gcov
  - cd src/ && gcov -r  knarr.cpp && cd ..

after_success:
    # codecov.io
    - bash <(curl -s https://codecov.io/bash) -X gcov -f src/knarr.cpp.gcov

notifications:
  email:
    recipients:
      - <EMAIL>
    on_success: never # default: change
    on_failure: always # default: always
  

{'fraction_non_alphanumeric': 0.10790464240903387, 'fraction_numerical': 0.0056461731493099125, 'mean_word_length': 2.918918918918919, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '7073987', 'n_tokens_mistral': 602, 'n_tokens_neox': 572, 'n_words': 151}