<commit_before>language: php

services:
  - mysql

php:
  - 7.0
  - 7.1

before_script:
  - composer install
  - echo "USE mysql;\nUPDATE user SET password=PASSWORD('<PASSWORD>') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root

script:
  - cp bgaproject.yml.dist bgaproject.yml
  - bin/bfh compile-images
  - bin/bgawb validate
  - vendor/bin/phpcs --standard=PSR2 --tab-width=4 --ignore=src/BGAWorkbench/Stubs,tests/bootstrap.php -q -p tests src
  - vendor/bin/phpunit<commit_msg>Travis imagick<commit_after>language: php

services:
  - mysql

php:
  - 7.0
  - 7.1

before_script:
  - pecl install imagick
  - composer install
  - echo "USE mysql;\nUPDATE user SET password=PASSWORD('<PASSWORD>') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root

script:
  - cp bgaproject.yml.dist bgaproject.yml
  - bin/bfh compile-images
  - bin/bgawb validate
  - vendor/bin/phpcs --standard=PSR2 --tab-width=4 --ignore=src/BGAWorkbench/Stubs,tests/bootstrap.php -q -p tests src
  - vendor/bin/phpunit
{'fraction_non_alphanumeric': 0.1341948310139165, 'fraction_numerical': 0.011928429423459244, 'mean_word_length': 3.3218884120171674, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1484221', 'n_tokens_mistral': 390, 'n_tokens_neox': 380, 'n_words': 81}