<commit_before>language: php

php:
    - 5.5
    - 5.6
    - 7.0
    - hhvm

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

matrix:
    include:
        - php: 5.5
          env: COMPOSER_FLAGS="--prefer-lowest"

before_install:
    - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then INI_FILE=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; else INI_FILE=/etc/hhvm/php.ini; fi;
    - echo "memory_limit = -1" >> $INI_FILE
    - echo "session.gc_probability = 0" >> $INI_FILE
    - composer self-update
    - composer --version
    - wget http://get.sensiolabs.org/php-cs-fixer.phar -O php-cs-fixer.phar

install:
    - COMPOSER_ROOT_VERSION=dev-master composer update --prefer-source $COMPOSER_FLAGS

script:
    - php php-cs-fixer.phar fix --dry-run -v
    - bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
    - php bin/coveralls -v<commit_msg>php-cs-fixer requires hhvm 3.9 fixes #33<commit_after>language: php

php:
    - 5.5
    - 5.6
    - 7.0

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

matrix:
    include:
        - php: 5.5
          env: COMPOSER_FLAGS="--prefer-lowest"

before_install:
    - if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then INI_FILE=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; else INI_FILE=/etc/hhvm/php.ini; fi;
    - echo "memory_limit = -1" >> $INI_FILE
    - echo "session.gc_probability = 0" >> $INI_FILE
    - composer self-update
    - composer --version
    - wget http://get.sensiolabs.org/php-cs-fixer.phar -O php-cs-fixer.phar

install:
    - COMPOSER_ROOT_VERSION=dev-master composer update --prefer-source $COMPOSER_FLAGS

script:
    - php php-cs-fixer.phar fix --dry-run -v
    - bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
    - if [[ "$TRAVIS_PHP_VERSION" == "7.0" ]]; then php bin/coveralls -v; fi;
{'fraction_non_alphanumeric': 0.15277030661646046, 'fraction_numerical': 0.013986013986013986, 'mean_word_length': 2.5294117647058822, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6454250', 'n_tokens_mistral': 762, 'n_tokens_neox': 730, 'n_words': 130}