<commit_before>dist: trusty
sudo: required

language: node_js

env:
  global:
    - DBUS_SESSION_BUS_ADDRESS=/dev/null

matrix:
  fast_finish: true
  include:
    - node_js: "7"
      os: linux
      env: SCRIPT=lint
    - node_js: "7"
      os: linux
      env: SCRIPT=test:unit
    - node_js: "7"
      os: linux
      env: NODE_SCRIPT=tests/run_e2e.js

before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH="$HOME/.yarn/bin:$PATH"
  - yarn config set spin false
  - yarn config set progress false

install:
  - yarn

script:
  - if [[ "$SCRIPT" ]]; then npm run-script $SCRIPT; fi
  - if [[ "$NODE_SCRIPT" ]]; then node $NODE_SCRIPT; fi
<commit_msg>test(travis): add osx builds<commit_after>language: node_js

env:
  global:
    - DBUS_SESSION_BUS_ADDRESS=/dev/null

matrix:
  fast_finish: true
  include:
    - node_js: "7"
      os: linux
      env: SCRIPT=lint
    - node_js: "7"
      os: linux
      env: SCRIPT=test:unit
    - node_js: "7"
      os: linux
      env: NODE_SCRIPT=tests/run_e2e.js
    - node_js: "7"
      os: osx
      env: SCRIPT=test:unit
    - node_js: "7"
      os: osx
      env: NODE_SCRIPT=tests/run_e2e.js

before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH="$HOME/.yarn/bin:$PATH"
  - yarn config set spin false
  - yarn config set progress false

install:
  - yarn

script:
  - if [[ "$SCRIPT" ]]; then npm run-script $SCRIPT; fi
  - if [[ "$NODE_SCRIPT" ]]; then node $NODE_SCRIPT; fi

{'fraction_non_alphanumeric': 0.13172043010752688, 'fraction_numerical': 0.00739247311827957, 'mean_word_length': 2.5368171021377672, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6217104', 'n_tokens_mistral': 620, 'n_tokens_neox': 576, 'n_words': 141}