<commit_before>language: php

php:
    - 7.0
    - 7.1
    - 7.2

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

script:
    - vendor/bin/phpunit --coverage-clover=build/logs/clover.xml

after_script:
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml<commit_msg>Switch to codecov<commit_after>language: php

php:
    - 7.0
    - 7.1
    - 7.2

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

script:
    - vendor/bin/phpunit --coverage-clover=coverage.xml

after_success:
  - bash <(curl -s https://codecov.io/bash)
{'fraction_non_alphanumeric': 0.12066574202496533, 'fraction_numerical': 0.016643550624133148, 'mean_word_length': 2.7801047120418847, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, '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': '1004898', 'n_tokens_mistral': 277, 'n_tokens_neox': 266, 'n_words': 48}