<commit_before>language: php
sudo: false

matrix:
  include:
    - php: 5.6
      env: PREFER_LOWEST=--prefer-lowest
    - php: 7.0
    - php: 7.1
    - php: 7.2
      env: COLLECT_COVERAGE=true

install:
  - travis_retry composer self-update
  - travis_retry composer install --no-interaction --prefer-source
  - travis_retry composer update $PREFER_LOWEST

script:
  - vendor/bin/phpunit

after_script:
  - if [[ "$COLLECT_COVERAGE" == "true" ]]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/coverage.xml; fi<commit_msg>Updates build matrix<commit_after>language: php
sudo: false

matrix:
  include:
    - php: 7.0
      env: PREFER_LOWEST=--prefer-lowest
    - php: 7.1
    - php: 7.2
    - php: 7.3
    - php: 7.4
      env: COLLECT_COVERAGE=true

install:
  - travis_retry composer self-update
  - travis_retry composer install --no-interaction --prefer-source
  - travis_retry composer update $PREFER_LOWEST

script:
  - vendor/bin/phpunit

after_script:
  - if [[ "$COLLECT_COVERAGE" == "true" ]]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/coverage.xml; fi
{'fraction_non_alphanumeric': 0.12746710526315788, 'fraction_numerical': 0.014802631578947368, 'mean_word_length': 3.139455782312925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4277917', 'n_tokens_mistral': 480, 'n_tokens_neox': 453, 'n_words': 95}