<commit_before>language: php
php:
  - 5.6
  - 7.0
  - 7.1
  - hhvm

sudo: false

matrix:
  fast_finish: true
  include:
    - php: 5.6
      env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'

before_script:
  - travis_retry composer self-update
  - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist

script:
  - mkdir -p build/logs
  - php vendor/bin/phpcs --standard=psr2 src/
  - php vendor/bin/phpunit --coverage-clover=./build/logs/coverage.clover

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover ./build/logs/coverage.clover<commit_msg>[travis] added 'dist: trusty' & coverage fix<commit_after>language: php
dist: trusty
sudo: false

php:
  - 5.6
  - 7.0
  - 7.1
  - hhvm

matrix:
  fast_finish: true
  include:
    - php: 5.6
      env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'

before_script:
  - travis_retry composer self-update
  - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist

script:
  - mkdir -p build/logs
  - php vendor/bin/phpcs --standard=psr2 src/
  - php vendor/bin/phpunit --coverage-clover=./build/logs/coverage.clover

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover ./build/logs/coverage.clover
{'fraction_non_alphanumeric': 0.13676470588235295, 'fraction_numerical': 0.013235294117647059, 'mean_word_length': 3.0870870870870872, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6043579', 'n_tokens_mistral': 545, 'n_tokens_neox': 522, 'n_words': 101}