<commit_before>language: node_js

node_js:
 - "4"
 - "stable"

dist: trusty
sudo: required

addons:
  apt:
    packages:
    - mysql-server-5.6
    - mysql-client-core-5.6
    - mysql-client-5.6

services:
  - mysql

notifications:
  email:
    - <EMAIL>
    - <EMAIL>
    - <EMAIL>
  irc:
    channels:
      - "irc.mozilla.org#fxa-bots"
    use_notice: false
    skip_join: false

before_install:
  - if [ "$TRAVIS_NODE_VERSION" == "0.10" ]; then npm install -g npm@2; fi
  - npm config set spin false

before_script:
  - mysql -u root -e 'DROP DATABASE IF EXISTS fxa'
  - npm i grunt-cli -g
  - npm run outdated
  - grunt nsp --force

script:
  # 'npm run test-travis' runs all tests together to collect all coverage into one from mysql and db-server
  - COVERALLS_REPO_TOKEN=mlOESL8slkePkodJpcvhF1AUKUH3llXi8 npm run test-travis
  # memory tests are separate to avoid being included into coverage because they run through the same code
  - npm run test-mem

matrix:
  allow_failures:
    - node_js: "stable"
  fast_finish: true
<commit_msg>chore(travis): add node 6 explicitly to travis (#175) r=vladikoff<commit_after>language: node_js

node_js:
 - "4"
 - "6"
 - "stable"

dist: trusty
sudo: required

addons:
  apt:
    packages:
    - mysql-server-5.6
    - mysql-client-core-5.6
    - mysql-client-5.6

services:
  - mysql

notifications:
  email:
    - <EMAIL>
    - <EMAIL>
    - <EMAIL>
  irc:
    channels:
      - "irc.mozilla.org#fxa-bots"
    use_notice: false
    skip_join: false

before_install:
  - if [ "$TRAVIS_NODE_VERSION" == "0.10" ]; then npm install -g npm@2; fi
  - npm config set spin false

before_script:
  - mysql -u root -e 'DROP DATABASE IF EXISTS fxa'
  - npm i grunt-cli -g
  - npm run outdated
  - grunt nsp --force

script:
  # 'npm run test-travis' runs all tests together to collect all coverage into one from mysql and db-server
  - COVERALLS_REPO_TOKEN=ml<PASSWORD> npm run test-travis
  # memory tests are separate to avoid being included into coverage because they run through the same code
  - npm run test-mem

matrix:
  allow_failures:
    - node_js: "stable"
  fast_finish: true

{'fraction_non_alphanumeric': 0.10159924741298212, 'fraction_numerical': 0.01458137347130762, 'mean_word_length': 2.8050089445438284, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '7001507', 'n_tokens_mistral': 823, 'n_tokens_neox': 790, 'n_words': 233}