<commit_before>language: php
php:
  - '5.4'
  - '5.5'
  - '5.6'
  - '7.0'

before_script:
  - composer install

script: "phpunit -c tests/phpunit.xml.dist"<commit_msg>Update travis config file: update composer & add coverage test.<commit_after>language: php
php:
  - '5.4'
  - '5.5'
  - '5.6'
  - '7.0'

before_script:
  - composer self-update
  - composer install --no-interaction

script: phpunit --coverage-text
{'fraction_non_alphanumeric': 0.1570048309178744, 'fraction_numerical': 0.03864734299516908, 'mean_word_length': 2.9150943396226414, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '6555324', 'n_tokens_mistral': 170, 'n_tokens_neox': 166, 'n_words': 37}