<commit_before>language: php

php:
  - "5.4"
  - "5.3"

before_script: 
  - pear channel-discover pear.phpunit.de
  - pear install phpunit/DbUnit
  - phpenv rehash
  - cp web/application/config/default.config.php web/application/config/config.php
  - cp web/application/config/default.ilios.php web/application/config/ilios.php
  - cp web/application/config/default.database.php web/application/config/database.php
  - mysql -e 'create database ilios_test;'

script: "cd tests/phpunit && cp default.phpunit.xml phpunit.xml && phpunit --exclude-group ldap,user_sync Ilios"<commit_msg>install phing on continuous integration server<commit_after>language: php

php:
  - "5.4"
  - "5.3"

before_script: 
  - pear channel-discover pear.phpunit.de
  - pear install phpunit/DbUnit
  - pear channel-discover pear.phing.info
  - pear install phing/phing
  - phpenv rehash
  - cp web/application/config/default.config.php web/application/config/config.php
  - cp web/application/config/default.ilios.php web/application/config/ilios.php
  - cp web/application/config/default.database.php web/application/config/database.php
  - mysql -e 'create database ilios_test;'

script: "cd tests/phpunit && cp default.phpunit.xml phpunit.xml && phpunit --exclude-group ldap,user_sync Ilios"
{'fraction_non_alphanumeric': 0.11653543307086614, 'fraction_numerical': 0.006299212598425197, 'mean_word_length': 3.8143939393939394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3245870', 'n_tokens_mistral': 437, 'n_tokens_neox': 424, 'n_words': 86}