<commit_before>language: php

php:
  - 5.6

sudo: false

before_script:
  - composer self-update
  - cp roles/server/templates/symfony_parameters.yml app/config/parameters.yml
  - composer install --prefer-source --no-interaction --ignore-platform-reqs
  - curl http://get.sensiolabs.org/php-cs-fixer.phar -o php-cs-fixer
  - chmod +x php-cs-fixer
  - ./php-cs-fixer self-update
  - printf "\n" | pecl install mongo
  - phpenv rehash

script:
  # - ./php-cs-fixer fix --config-file .php_cs -vv -n --dry-run  # it broke --config-file is not an option
  - cd app; phpunit

#notifications:
#  irc:
#    channels:
#      - 'irc.esper.net#korobi'
#    template:
#      - '%{repository}#%{build_number} (%{branch} - %{commit}) %{author}: %{message} - %{build_url}'
#    on_failure: always
#    on_success: change<commit_msg>Travis: stop notificaitons; test for php 7.1<commit_after>language: php

php:
  - 7.1

sudo: false

before_script:
  - composer self-update
  - cp roles/server/templates/symfony_parameters.yml app/config/parameters.yml
  - composer install --prefer-source --no-interaction --ignore-platform-reqs
  - curl http://get.sensiolabs.org/php-cs-fixer.phar -o php-cs-fixer
  - chmod +x php-cs-fixer
  - ./php-cs-fixer self-update
  - printf "\n" | pecl install mongo
  - phpenv rehash

script:
  - ./php-cs-fixer fix --config-file .php_cs -vv -n --dry-run
  - cd app; phpunit

notifications:
  email: false
#  irc:
#    channels:
#      - 'irc.esper.net#korobi'
#    template:
#      - '%{repository}#%{build_number} (%{branch} - %{commit}) %{author}: %{message} - %{build_url}'
#    on_failure: always
#    on_success: change
{'fraction_non_alphanumeric': 0.15892420537897312, 'fraction_numerical': 0.003667481662591687, 'mean_word_length': 2.8699763593380614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3564492', 'n_tokens_mistral': 644, 'n_tokens_neox': 610, 'n_words': 132}