<commit_before>language: php

php:
  - 5.3
  - 5.4
  - 5.5

matrix:
  fast_finish: true

services:
  - memcached

before_script:
  - sudo locale-gen fr_FR fr_FR.UTF-8
  - locale -a  
  - echo "extension = zmq.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - printf "yes\nyes\nno\nyes\n" | pecl install pecl_http
  - echo 'extension = "memcached.so"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
  - composer self-update
  - mkdir test
  - cd test
  - composer init --no-interaction --stability=dev
  - composer require "photon/photon:dev-develop"
  - composer require "photon/session-memcached:dev-master"
  - cp vendor/photon/session-memcached/phpunit.xml .
  
script: phpunit -c phpunit.xml
<commit_msg>Enable test on PHP 5.6<commit_after>language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6

matrix:
  fast_finish: true

services:
  - memcached

before_script:
  - sudo locale-gen fr_FR fr_FR.UTF-8
  - locale -a  
  - echo "extension = zmq.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - printf "yes\nyes\nno\nyes\n" | pecl install pecl_http
  - echo 'extension = "memcached.so"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
  - composer self-update
  - mkdir test
  - cd test
  - composer init --no-interaction --stability=dev
  - composer require "photon/session-memcached:dev-master"
  - cp vendor/photon/session-memcached/phpunit.xml .
  
script: phpunit -c phpunit.xml

{'fraction_non_alphanumeric': 0.1437414030261348, 'fraction_numerical': 0.012379642365887207, 'mean_word_length': 2.88, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '591558', 'n_tokens_mistral': 581, 'n_tokens_neox': 558, 'n_words': 112}