<commit_before>language: php
php:
    - 5.3

before_script:
    - wget http://framework.zend.com/releases/ZendFramework-1.11.11/ZendFramework-1.11.11-minimal.tar.gz
    - tar xfz ZendFramework-1.11.11-minimal.tar.gz
    - sed "s,Zend Framework path here,`pwd`/ZendFramework-1.11.11-minimal/library," tests/TestConfiguration.php.dist > tests/TestConfiguration.php

script: phpunit --bootstrap tests/TestHelper.php tests/AllTests.php<commit_msg>Include mongodb driver in before_script<commit_after>language: php
php:
    - 5.3

before_script:
    # Fetch ZF
    - wget http://framework.zend.com/releases/ZendFramework-1.11.11/ZendFramework-1.11.11-minimal.tar.gz
    - tar xfz ZendFramework-1.11.11-minimal.tar.gz
    # Create TestConfiguration file with ZF path
    - sed "s,Zend Framework path here,`pwd`/ZendFramework-1.11.11-minimal/library," tests/TestConfiguration.php.dist > tests/TestConfiguration.php
    # Install MongoDB driver
    - wget http://pecl.php.net/get/mongo-1.2.9.tgz
    - tar xfz mongo-1.2.9.tgz
    - sh -c "cd mongo-1.2.9 && phpize && ./configure && make && sudo make install"
    - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

script: phpunit --bootstrap tests/TestHelper.php tests/AllTests.php
{'fraction_non_alphanumeric': 0.1443217665615142, 'fraction_numerical': 0.0417981072555205, 'mean_word_length': 3.3910034602076125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1004886', 'n_tokens_mistral': 494, 'n_tokens_neox': 450, 'n_words': 83}