<commit_before>language: php

sudo: false

php:
  - 5.5
  - 5.6
  - 7.0

env:
  matrix:
    - PREFER_LOWEST="--prefer-lowest"
    - PREFER_LOWEST=""

before_script:
  - composer self-update
  - composer update --prefer-source $PREFER_LOWEST
  - mkdir -p test/_build

script:
  - vendor/bin/phpunit -c ./phpunit.xml
  - vendor/bin/phpcs --standard=PSR2 ./src/

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover test/_build/logs/clover.xml

notifications:
  irc: "irc.freenode.org#zftalk.modules"
  email: false
<commit_msg>Updated travis script to add PHPUnit config file<commit_after>language: php

sudo: false

php:
  - 5.5
  - 5.6
  - 7.0

env:
  matrix:
    - PREFER_LOWEST="--prefer-lowest"
    - PREFER_LOWEST=""

before_script:
  - composer self-update
  - composer update --prefer-source $PREFER_LOWEST
  - mkdir -p test/_build

script:
  - cp phpunit.xml.dist phpunit.xml
  - vendor/bin/phpunit -c ./phpunit.xml
  - vendor/bin/phpcs --standard=PSR2 ./src/

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover test/_build/logs/clover.xml

notifications:
  irc: "irc.freenode.org#zftalk.modules"
  email: false

{'fraction_non_alphanumeric': 0.13481363996827914, 'fraction_numerical': 0.011102299762093577, 'mean_word_length': 2.9685534591194966, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3540595', 'n_tokens_mistral': 526, 'n_tokens_neox': 497, 'n_words': 94}