<commit_before>language: php
php:
  - 5.4
before_install:
  - composer self-update
install:
  - ./test/create_working_copy.sh
  - cd test/working_copy
  - npm install -g grunt-cli
  - npm install -g mocha
script:
  - export PATH=$PATH:`pwd`/bin
  - grunt
  - grunt drush:liteinstall
  - grunt drush:runserver &
  - until netstat -an 2>/dev/null | grep '8080.*LISTEN'; do sleep 0.2; done
  - grunt behat
  - mocha node_modules/grunt-drupal-tasks/test<commit_msg>Disabling PHP sendmail for the Travis CI script to prevent errors.<commit_after>language: php
php:
  - 5.4
before_install:
  - composer self-update
  - echo "sendmail_path='true'" >> `php --ini | grep "Loaded Configuration" | awk '{print $4}'`
install:
  - ./test/create_working_copy.sh
  - cd test/working_copy
  - npm install -g grunt-cli
  - npm install -g mocha
script:
  - export PATH=$PATH:`pwd`/bin
  - grunt
  - grunt drush:liteinstall
  - grunt drush:runserver &
  - until netstat -an 2>/dev/null | grep '8080.*LISTEN'; do sleep 0.2; done
  - grunt behat
  - mocha node_modules/grunt-drupal-tasks/test
{'fraction_non_alphanumeric': 0.12511671335200747, 'fraction_numerical': 0.017740429505135387, 'mean_word_length': 3.138996138996139, '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': '4754221', 'n_tokens_mistral': 415, 'n_tokens_neox': 387, 'n_words': 101}