<commit_before>language: php

php:
  - 5.3.3
  - 5.3
  - 5.4
  - 5.5

matrix:
  allow_failures:
    - php: 5.5

env:
  - DB=mysql
  - DB=pgsql
  - DB=sqlite

before_script:
  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE zf2entityaudit;'; fi"
  - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS zf2entityaudit;' -U postgres; fi"
  - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE DATABASE  zf2entityaudit;' -U postgres; fi"
  - curl -s https://getcomposer.org/installer | php && php composer.phar update --prefer-source --dev

script:
  - phpunit
  - php coverage-checker.php clover.xml 90<commit_msg>removing pgsql since ZFC user doesn't support it<commit_after>language: php

php:
  - 5.3.3
  - 5.3
  - 5.4
  - 5.5

matrix:
  allow_failures:
    - php: 5.5

env:
  - DB=mysql
  - DB=sqlite

before_script:
  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE zf2entityaudit;'; fi"
  - curl -s https://getcomposer.org/installer | php && php composer.phar update --prefer-source --dev

script:
  - phpunit
  - php coverage-checker.php clover.xml 90
{'fraction_non_alphanumeric': 0.15475113122171946, 'fraction_numerical': 0.027149321266968326, 'mean_word_length': 2.6143790849673203, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7001604', 'n_tokens_mistral': 496, 'n_tokens_neox': 463, 'n_words': 121}