<commit_before>sudo: false
language: node_js
node_js:
  - "0.10"
  - "0.12"
  - "4"
  - "6"
  - "7"
env:
  matrix: BROWSER=false MAKE_TEST=false

matrix:
  include:
    - node_js: "7"
      addons:
        firefox:
          - "45.0"
          - "52.0"
      env: BROWSER=true MAKE_TEST=true

after_success: npm run coveralls

# Needed to run Karma with Firefox on Travis
# http://karma-runner.github.io/0.13/plus/travis.html
#before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

script:
  - npm test
  # ensure buildable
  - "[ $MAKE_TEST == false ] || make"
  # test in firefox
  - "[ $BROWSER == false ] || npm run mocha-browser-test"
<commit_msg>fix travis yaml<commit_after>sudo: false
language: node_js
node_js:
  - "0.10"
  - "0.12"
  - "4"
  - "6"
  - "7"

matrix:
  include:
    - node_js: "7"
      addons:
        firefox: "52.0"
      env: BROWSER=true MAKE_TEST=true
env:
  matrix: BROWSER=false MAKE_TEST=false

after_success: npm run coveralls

# Needed to run Karma with Firefox on Travis
# http://karma-runner.github.io/0.13/plus/travis.html
#before_script:
#  - export DISPLAY=:99.0
#  - sh -e /etc/init.d/xvfb start

script:
  - npm test
  # ensure buildable
  - "[ $MAKE_TEST == false ] || make"
  # test in firefox
  - "[ $BROWSER == false ] || npm run mocha-browser-test"

{'fraction_non_alphanumeric': 0.1467680608365019, 'fraction_numerical': 0.0311787072243346, 'mean_word_length': 2.547169811320755, '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': '3453392', 'n_tokens_mistral': 569, 'n_tokens_neox': 532, 'n_words': 123}