<commit_before>language: node_js
sudo: required
node_js:
  - '8'
env:
  global:
    - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8

install:
  - npm install

# Read more here: https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start || echo \"Unable to start virtual display.\""

script:
  - npm run test<commit_msg>update to xenial ci instance<commit_after>language: node_js
dist: xenial
sudo: required
node_js:
  - '8'
env:
  global:
    - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8

install:
  - npm install

services:
  - xvfb

script:
  - npm run test
{'fraction_non_alphanumeric': 0.14627994955863807, 'fraction_numerical': 0.01639344262295082, 'mean_word_length': 2.5765765765765765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '3038503', 'n_tokens_mistral': 334, 'n_tokens_neox': 321, 'n_words': 68}