<commit_before>language: php

dist: trusty

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

env:
  global:
    - PATH="$HOME/.composer/vendor/bin:$PATH"

matrix:
  fast_finish: true
  include:
    - dist: precise
      php: 5.3
    - dist: precise
      php: 5.3
      env: COMPOSER_FLAGS="--prefer-lowest"
    - php: 5.6
      env: COMPOSER_VERSION=1.0.*
    - php: 5.6
      env: COMPOSER_VERSION=1.1.*
    - php: 5.6
      env: COMPOSER_VERSION=dev-master
  allow_failures:
    - php: nightly
    - env: COMPOSER_VERSION=1.1.*
    - env: COMPOSER_VERSION=dev-master

sudo: false

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

before_install:
  - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-rm xdebug.ini; fi;
  - composer config -g github-oauth.github.com $GITHUB_OAUTH_TOKEN
  - composer global require 'phpunit/phpunit:>=4.0, <6' satooshi/php-coveralls:@stable codeclimate/php-test-reporter:@stable --no-update
  - if [ "$COMPOSER_VERSION" != "" ]; then composer require "composer/composer:${COMPOSER_VERSION}" --no-update; fi;

install:
  - composer global update --prefer-dist --no-interaction
  - composer update --prefer-dist --no-interaction $COMPOSER_FLAGS

before_script:
  - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "zend_extension=xdebug.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;

script: phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml

after_script:
  - coveralls -v
  - test-reporter
<commit_msg>Increase composer versions builds on Travis<commit_after>language: php

dist: trusty

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

env:
  global:
    - PATH="$HOME/.composer/vendor/bin:$PATH"

matrix:
  fast_finish: true
  include:
    - dist: precise
      php: 5.3
    - dist: precise
      php: 5.3
      env: COMPOSER_FLAGS="--prefer-lowest"
    - php: 5.6
      env: COMPOSER_VERSION=1.0.*
    - php: 5.6
      env: COMPOSER_VERSION=1.1.*
    - php: 5.6
      env: COMPOSER_VERSION=1.2.*
    - php: 5.6
      env: COMPOSER_VERSION=1.3.*
    - php: 5.6
      env: COMPOSER_VERSION=1.4.*
    - php: 5.6
      env: COMPOSER_VERSION=dev-master
  allow_failures:
    - php: nightly
    - env: COMPOSER_VERSION=dev-master

sudo: false

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

before_install:
  - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-rm xdebug.ini; fi;
  - composer config -g github-oauth.github.com $GITHUB_OAUTH_TOKEN
  - composer global require 'phpunit/phpunit:>=4.0, <6' satooshi/php-coveralls:@stable codeclimate/php-test-reporter:@stable --no-update
  - if [ "$COMPOSER_VERSION" != "" ]; then composer require "composer/composer:${COMPOSER_VERSION}" --no-update; fi;

install:
  - composer global update --prefer-dist --no-interaction
  - composer update --prefer-dist --no-interaction $COMPOSER_FLAGS

before_script:
  - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "zend_extension=xdebug.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;

script: phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml

after_script:
  - coveralls -v
  - test-reporter

{'fraction_non_alphanumeric': 0.14660347551342812, 'fraction_numerical': 0.021484992101105844, 'mean_word_length': 2.8282950423216446, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '43033', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1227, 'n_words': 243}