<commit_before>sudo: required
dist: xenial
language: node_js
node_js:
  - "8"
cache:
  directories:
    - $HOME/.npm
    - $HOME/.jspm
notifications:
  slack: atomictech:Y2CvOY8NZ6K1OOvw4vwZ4EXW
addons:
  # From some tests it seems you can only have one firefox addon.
  # Adding two results in the last one defined being the one installed.
  firefox: latest
  apt:
    sources:
      - google-chrome
    packages:
      - google-chrome-stable
      - google-chrome-beta
before_script:
  - if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
  - npm install
  - npm install jspm
  - jspm install
  - gulp build
  - export CHROME_BIN=/usr/bin/google-chrome
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
script: npm run coveralls<commit_msg>chore(build): Chrome browser is an addon in travis. No need to have special configuration through apt.<commit_after>sudo: required
dist: xenial
language: node_js
node_js:
  - "8"
cache:
  directories:
    - $HOME/.npm
    - $HOME/.jspm
notifications:
  slack: atomictech:Y2CvOY8NZ6K1OOvw4vwZ4EXW
addons:
  # From some tests it seems you can only have one firefox addon.
  # Adding two results in the last one defined being the one installed.
  firefox: latest
  chrome: stable
before_script:
  - if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
  - npm install
  - npm install jspm
  - jspm install
  - gulp build
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
  script: npm run coveralls
{'fraction_non_alphanumeric': 0.10725552050473186, 'fraction_numerical': 0.017665615141955835, 'mean_word_length': 3.045918367346939, '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': '284223', 'n_tokens_mistral': 605, 'n_tokens_neox': 572, 'n_words': 175}