<commit_before>language: php

php:
 - "5.3"
 - "5.4"

before_install:
# Set the GitHub OAuth token to make use of the 6000 per hour rate limit
 - mkdir -p ~/.composer
 - cp .travis.composer.json ~/.composer/config.json
# Update composer
 - composer self-update
# Install project
 - composer install --dev -o

before_script:
 - cd ~/.phpenv/versions/$(phpenv version-name)/etc
 - wget http://browsers.garykeith.com/stream.asp?BrowsCapINI
 - echo 'browscap = "browscap.ini"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
 - cd tests
 
script:
 - phpunit -d max_execution_time=0 
 - php ./coverage-checker.php ./clover.xml 100<commit_msg>Improve travis process<commit_after>language: php

php:
 - "5.3"
 - "5.4"

before_install:
# Set the GitHub OAuth token to make use of the 6000 per hour rate limit
 - mkdir -p ~/.composer
 - cp .travis.composer.json ~/.composer/config.json
# Update composer
 - composer self-update
# Install project
 - composer install --dev -o

before_script:
 - wget -P ~/.phpenv/versions/$(phpenv version-name)/etc http://browsers.garykeith.com/stream.asp?BrowsCapINI
 - echo 'browscap = "browscap.ini"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
 - cd tests
 
script:
 - phpunit -d max_execution_time=0 
 - php ./coverage-checker.php ./clover.xml 100
{'fraction_non_alphanumeric': 0.14175654853620956, 'fraction_numerical': 0.01848998459167951, 'mean_word_length': 3.3444816053511706, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '2295562', 'n_tokens_mistral': 501, 'n_tokens_neox': 467, 'n_words': 117}