<commit_before>language: php

php:
  - 5.3
  - 5.4

env:
  - MONGO_VERSION=1.2.12

before_script:
  - wget http://pecl.php.net/get/mongo-${MONGO_VERSION}.tgz
  - tar -xzf mongo-${MONGO_VERSION}.tgz
  - sh -c "cd mongo-${MONGO_VERSION} && phpize && ./configure && make && sudo make install"
  - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
  - wget -nc http://getcomposer.org/composer.phar
  - php composer.phar install --dev<commit_msg>Require mongodb service in Travis CI<commit_after>language: php

php:
  - 5.3
  - 5.4

env:
  - MONGO_VERSION=1.2.12

services: mongodb

before_script:
  - wget http://pecl.php.net/get/mongo-${MONGO_VERSION}.tgz
  - tar -xzf mongo-${MONGO_VERSION}.tgz
  - sh -c "cd mongo-${MONGO_VERSION} && phpize && ./configure && make && sudo make install"
  - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
  - wget -nc http://getcomposer.org/composer.phar
  - php composer.phar install --dev
{'fraction_non_alphanumeric': 0.18118811881188118, 'fraction_numerical': 0.015841584158415842, 'mean_word_length': 3.0931174089068825, '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': '5160694', 'n_tokens_mistral': 427, 'n_tokens_neox': 392, 'n_words': 86}