<commit_before>language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - hhvm

cache:
  directories:
    - vendor

services:
  - memcached
  - mongodb
  - redis-server

before_script:
  - echo "extension=mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "extension=apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - wget https://getcomposer.org/composer.phar
  - php composer.phar install --dev --prefer-source
  # must be set after composer to avoid issue with autoloading
  - echo "apc.enable_cli=On" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

script: phpunit

notifications:
    webhooks: https://sonata-project.org/bundles/cache/master/travis

matrix:
  allow_failures:
    - php: hhvm<commit_msg>Add PHP 5.6 and 7.0 on Travis<commit_after>language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - hhvm

cache:
  directories:
    - vendor

services:
  - memcached
  - mongodb
  - redis-server

before_script:
  - echo "extension=mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "extension=apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - wget https://getcomposer.org/composer.phar
  - php composer.phar install --dev --prefer-source
  # must be set after composer to avoid issue with autoloading
  - echo "apc.enable_cli=On" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

script: phpunit

notifications:
    webhooks: https://sonata-project.org/bundles/cache/master/travis

matrix:
  allow_failures:
    - php: 7.0
    - php: hhvm
{'fraction_non_alphanumeric': 0.1532677848467322, 'fraction_numerical': 0.012724117987275883, 'mean_word_length': 3.0046296296296298, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 4, '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': '2423619', 'n_tokens_mistral': 694, 'n_tokens_neox': 674, 'n_words': 123}