<commit_before>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm

install:
  - composer install --dev --prefer-source --no-scripts

before_script:
  - mkdir -p build/coverage
  - mkdir build/logs

script:
  - for d in module/*/test; do echo "Running $d tests"; vendor/bin/phpunit -c "$d/phpunit.xml" --coverage-php "build/coverage/coverage-${d//\//-}.cov" "$d" || exit 1; done

after_script:
  - ./phpcov.phar merge --clover build/logs/clover.xml build/coverage
  - php vendor/bin/coveralls -v

matrix:
  allow_failures:
    - php: 5.6<commit_msg>Update composer to support latest version constraint parsing<commit_after>language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - hhvm

install:
  - composer self-update
  - composer install --dev --prefer-source --no-scripts

before_script:
  - mkdir -p build/coverage
  - mkdir build/logs

script:
  - for d in module/*/test; do echo "Running $d tests"; vendor/bin/phpunit -c "$d/phpunit.xml" --coverage-php "build/coverage/coverage-${d//\//-}.cov" "$d" || exit 1; done

after_script:
  - ./phpcov.phar merge --clover build/logs/clover.xml build/coverage
  - php vendor/bin/coveralls -v

matrix:
  allow_failures:
    - php: 5.6
{'fraction_non_alphanumeric': 0.1552901023890785, 'fraction_numerical': 0.015358361774744027, 'mean_word_length': 2.677115987460815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '556276', 'n_tokens_mistral': 464, 'n_tokens_neox': 446, 'n_words': 110}