<commit_before>sudo: false

language: node_js

node_js:
  - "6.3.0"
  - "stable"

cache:
  directories:
    - node_modules

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
      - icnsutils
      - graphicsmagick
      - xz-utils
      - xorriso

before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi

install:
  - export CXX="g++-4.8"
  - npm install -g npm@latest
  - npm install
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"

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

script:
  - npm run lint
  - npm run test
  - npm run build
  - npm run test-e2e
  - npm run package

matrix:
  allow_failures:
    - node_js: "stable"<commit_msg>npm issue?<commit_after>sudo: false

language: node_js

node_js:
  - "6.3.0"
  - "stable"

cache:
  directories:
    - node_modules

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
      - icnsutils
      - graphicsmagick
      - xz-utils
      - xorriso

install:
  - export CXX="g++-4.8"
  - npm install -g npm@latest
  - npm install
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"

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

script:
  - npm run lint
  - npm run test
  - npm run build
  - npm run test-e2e
  - npm run package

matrix:
  allow_failures:
    - node_js: "stable"
{'fraction_non_alphanumeric': 0.13856529736358061, 'fraction_numerical': 0.034334763948497854, 'mean_word_length': 2.073446327683616, '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': '3333103', 'n_tokens_mistral': 714, 'n_tokens_neox': 660, 'n_words': 155}