<commit_before>language: node_js

services:
  - couchdb

node_js:
  - "0.12"

addons:
  firefox: "latest"

script: npm run $COMMAND
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - "sleep 5"

env:
  matrix:
  # break into many small tests so travis doesn't complain
  - CLIENT=selenium:firefox SUITE=1 COMMAND=test
  - CLIENT=selenium:firefox SUITE=2 COMMAND=test
  - CLIENT=selenium:firefox SUITE=3 COMMAND=test
  - CLIENT=selenium:firefox SUITE=4 COMMAND=test
  - CLIENT=selenium:firefox SUITE=5 COMMAND=test

branches:
  only:
  - master
  - /^pull*$/
<commit_msg>update travis config<commit_after>language: node_js

services:
  - couchdb

node_js:
  - "stable"

sudo: false

addons:
  firefox: "41.0.1"

script: npm run $COMMAND

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

  - "npm install add-cors-to-couchdb"
  - "./node_modules/.bin/add-cors-to-couchdb"

env:
  matrix:
  # break into many small tests so travis doesn't complain
  - CLIENT=selenium:firefox:41.0.1 SUITE=1 COMMAND=test
  - CLIENT=selenium:firefox:41.0.1 SUITE=2 COMMAND=test
  - CLIENT=selenium:firefox:41.0.1 SUITE=3 COMMAND=test
  - CLIENT=selenium:firefox:41.0.1 SUITE=4 COMMAND=test
  - CLIENT=selenium:firefox:41.0.1 SUITE=5 COMMAND=test

branches:
  only:
  - master

{'fraction_non_alphanumeric': 0.13023610053313023, 'fraction_numerical': 0.03351104341203351, 'mean_word_length': 3.743682310469314, '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': '7501511', 'n_tokens_mistral': 593, 'n_tokens_neox': 536, 'n_words': 109}