<commit_before>language: ruby

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.1

matrix:
  allow_failures:
    - rvm: 1.9.3

script: travis_wait bundle exec rake TESTOPTS="-v"
after_failure:<commit_msg>travis: Use rng-tools to speed up key generation<commit_after>language: ruby

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.1

matrix:
  allow_failures:
    - rvm: 1.9.3

before_install:
  # this is a fix to get rng-tools to work in travis-ci
  - sudo apt-get update -qq
  - sudo apt-get install --yes rng-tools
  - sudo rm -f /dev/random
  - sudo mknod -m 0666 /dev/random c 1 9
  - echo HRNGDEVICE=/dev/urandom | sudo tee /etc/default/rng-tools
  - sudo /etc/init.d/rng-tools restart

script: travis_wait bundle exec rake TESTOPTS="-v"

after_failure:
{'fraction_non_alphanumeric': 0.12225274725274725, 'fraction_numerical': 0.04120879120879121, 'mean_word_length': 2.626865671641791, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6217296', 'n_tokens_mistral': 326, 'n_tokens_neox': 303, 'n_words': 81}