<commit_before>language: node_js

node_js:
  - "0.10"
  - "0.12"

sudo: true

cache:
  directories:
    - node_modules

env:
  -
  - USE_RESTIFY=1

before_script:
  - source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
  - wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
  - sudo apt-get update
  - sudo apt-get install rethinkdb

script:
  - make test
<commit_msg>fix(travis): configure and start rethink after installing it<commit_after>language: node_js

node_js:
  - "0.10"
  - "0.12"

sudo: true

cache:
  directories:
    - node_modules

env:
  -
  - USE_RESTIFY=1

before_script:
  - source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
  - wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
  - sudo apt-get update
  - sudo apt-get install rethinkdb
  - sudo cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
  - sudo /etc/init.d/rethinkdb restart

script:
  - make test

{'fraction_non_alphanumeric': 0.13077593722755013, 'fraction_numerical': 0.013077593722755012, 'mean_word_length': 3.0422535211267605, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3038108', 'n_tokens_mistral': 474, 'n_tokens_neox': 447, 'n_words': 92}