<commit_before>language: php

php:
    - 5.4
    - 5.5
    - 5.6
    - 7.0

# faster builds on new travis setup not using sudo
sudo: required

services:
  - memcached

matrix:
    fast_finish: true
    allow_failures:
        php: 7.0

cache:
    directories:
        - $HOME/.composer/cache

install:
    - travis_retry composer install --no-interaction --prefer-dist

before_install:
    - travis_retry composer self-update
    - sudo apt-get install php5-memcache


script:
    - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_success:
    - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
    - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi<commit_msg>Make relise version<commit_after>language: php

php:
    - 5.4
    - 5.5
    - 5.6
    - 7.0

services:
  - memcached

matrix:
    fast_finish: true
    allow_failures:
        php: 7.0

cache:
    directories:
        - $HOME/.composer/cache

install:
    - travis_retry composer install --no-interaction --prefer-dist

before_install:
    - travis_retry composer self-update
    - mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc
    - echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
    - echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini


script:
    - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_success:
    - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
    - if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
{'fraction_non_alphanumeric': 0.14832285115303984, 'fraction_numerical': 0.01519916142557652, 'mean_word_length': 2.903885480572597, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3540051', 'n_tokens_mistral': 730, 'n_tokens_neox': 707, 'n_words': 136}