<commit_before>language: php

sudo: false

dist: precise

php:
  - 5.6.6
  - 7.0
  - 7.1

services:
  - elasticsearch
  - mongodb
  - mysql-server-5.6
  - redis-server

global:
  - REPORT_EXIT_STATUS=1

before_install:
  - if [[ $TRAVIS_PHP_VERSION = "5.6.6" ]]; then echo yes | pecl install mongodb; fi
  - echo "extension=mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "USE mysql;\nUPDATE user SET password=PASSWORD('<PASSWORD>') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
  - mysql -e 'CREATE DATABASE travis;'

before_script:
  - cp config/parameters.travis.yml config/parameters.yml
  - composer self-update
  - composer install --prefer-source --no-interaction --dev

script:
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - vendor/bin/coveralls -v

matrix:
  fast_finish: true<commit_msg>travis<commit_after>language: php

sudo: false

dist: precise

php:
  - 5.6.6
  - 7.0
  - 7.1

services:
  - elasticsearch
  - mongodb
  - mysql
  - redis-server

addons:
  apt:
    sources:
      - debian-sid
    packages:
      - mysql-server-5.6

global:
  - REPORT_EXIT_STATUS=1

before_install:
  - if [[ $TRAVIS_PHP_VERSION = "5.6.6" ]]; then echo yes | pecl install mongodb; fi
  - echo "extension=mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo "USE mysql;\nUPDATE user SET password=PASSWORD('<PASSWORD>') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
  - mysql -e 'CREATE DATABASE travis;'

before_script:
  - cp config/parameters.travis.yml config/parameters.yml
  - composer self-update
  - composer install --prefer-source --no-interaction --dev

script:
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - vendor/bin/coveralls -v

matrix:
  fast_finish: true
{'fraction_non_alphanumeric': 0.1371900826446281, 'fraction_numerical': 0.014325068870523415, 'mean_word_length': 3.0993227990970653, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1138044', 'n_tokens_mistral': 702, 'n_tokens_neox': 683, 'n_words': 145}