<commit_before>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm

matrix:
  allow_failures:
    - php: hhvm

before_install:
 - composer self-update
 - composer install
 - wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
 - wget https://scrutinizer-ci.com/ocular.phar

script:
 - phpunit --coverage-text --coverage-clover=coverage.clover
 - output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 src); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;

after_script:
 - php ocular.phar code-coverage:upload --format=php-clover coverage.clover<commit_msg>update travis.tml<commit_after>language: php

php:
  - 5.5
  - 5.6
  - hhvm

script:
 - composer self-update
 - composer install --prefer-source
 - phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
 - wget https://scrutinizer-ci.com/ocular.phar
 - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
{'fraction_non_alphanumeric': 0.1518595041322314, 'fraction_numerical': 0.01756198347107438, 'mean_word_length': 3.2314410480349345, 'pattern_counts': {'":': 0, '<': 6, '<?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': '556367', 'n_tokens_mistral': 394, 'n_tokens_neox': 370, 'n_words': 75}