<commit_before>language: php
php:
  - 5.4
  - 5.5
  - 5.6
services:
  - memcached
env:
  global:
    - REPORT_EXIT_STATUS=1
before_script:
  - mysql -e 'CREATE DATABASE `cscms.travis`;'
  - echo 'yes' | pecl install apcu-beta
  - echo 'extension = memcached.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo 'extension = mcrypt.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
script: php run-tests.php -P --show-diff tests<commit_msg>Possible fix for mcrypt unavailable on Travis<commit_after>language: php
php:
  - 5.4
  - 5.5
  - 5.6
services:
  - memcached
env:
  global:
    - REPORT_EXIT_STATUS=1
before_script:
  - mysql -e 'CREATE DATABASE `cscms.travis`;'
  - echo 'yes' | pecl install apcu-beta
  - echo 'extension = memcached.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - apt-get install -qq php5-mcrypt
  - echo 'extension = mcrypt.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
script: php run-tests.php -P --show-diff tests
{'fraction_non_alphanumeric': 0.15568862275449102, 'fraction_numerical': 0.014970059880239521, 'mean_word_length': 3.144628099173554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, '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': '557350', 'n_tokens_mistral': 408, 'n_tokens_neox': 392, 'n_words': 85}