<commit_before>language: php

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

env:
  global:
    - DEFAULT=1

before_script:
  - travis_retry composer self-update
  - if [[ $DEFAULT = '1' ]]; then travis_retry composer install --prefer-source --no-interaction; fi
  - if [[ $COVERALLS == '1' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.6" "symfony/yaml=~2.0" --prefer-source --no-interaction --dev; fi

script:
  - if [[ $COVERALLS == '1' ]]; then phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
  - if [[ $DEFAULT = '1' ]]; then phpunit -c phpunit.xml; fi

after_script:
  - if [[ $COVERALLS == '1' ]]; then php vendor/bin/coveralls -v; fi

matrix:
  include:
    - php: 5.4
      env: COVERALLS=1 DEFAULT=0
  allow_failures:
    - php: 7.0
    - php: hhvm
  fast_finish: true
<commit_msg>Rework on travis-ci schema.<commit_after>language: php

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

env:
  global:
    - setup=simple
    - coverage=no

before_script:
  - travis_retry composer self-update
  - composer config discard-changes true
  - if [[ $setup = 'simple' ]]; then travis_retry composer install --prefer-source --no-interaction; fi
  - if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-stable; fi
  - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-lowest --prefer-stable; fi
  - if [[ $setup = 'coveralls' ]]; then travis_retry composer require "psr/log=1.0.0" "satooshi/php-coveralls=~0.6" "symfony/yaml=~2.0" --prefer-source --no-interaction --dev; fi

script:
  - if [[ $coverage = 'yes' ]]; then phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
  - if [[ $coverage = 'no' ]]; then phpunit -c phpunit.xml; fi

after_script:
  - if [[ $setup = 'coveralls' ]]; then php vendor/bin/coveralls -v; fi

matrix:
  include:
    - php: 5.4
      env: setup=lowest
    - php: 5.4
      env: setup=stable
    - php: 5.4
      env: setup=coveralls coverage=yes
  allow_failures:
    - env: setup=lowest
    - env: setup=stable
    - php: 7.0
  fast_finish: true

{'fraction_non_alphanumeric': 0.1583880037488285, 'fraction_numerical': 0.022024367385192128, 'mean_word_length': 2.745614035087719, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4569453', 'n_tokens_mistral': 852, 'n_tokens_neox': 824, 'n_words': 202}