<commit_before>sudo: required
dist: trusty
os:
  - linux

language: node_js
node_js:
  - '9'

addons:
  chrome: stable

cache:
  directories:
    - node_modules

install: travis_retry npm install

stages:
  - test
  - pack
  - name: deploy
    if: branch =~ ^(master|v\d+\.\d+)
        AND (type NOT IN (cron, pull_request))

script:
  - echo $TRAVIS_OS_NAME
  - node --version
  - npm --version
  - HEADLESS=1 npm test

jobs:
  include:
    - stage: pack
      script:
        - echo "NPM Pack Testing..."
        - npm run test:pack
        - echo 'NPM Pack Testing is PASSED.'

    - stage: deploy
      script:<commit_msg>move test script back to stages<commit_after>sudo: required
dist: trusty
os:
  - linux

language: node_js
node_js:
  - '9'

addons:
  chrome: stable

cache:
  directories:
    - node_modules

install: travis_retry npm install

stages:
  - test
  - pack
  - name: deploy
    if: branch =~ ^(master|v\d+\.\d+)
        AND (type NOT IN (cron, pull_request))

jobs:
  include:
    - stage: test
      script:
        - echo $TRAVIS_OS_NAME
        - node --version
        - npm --version
        - HEADLESS=1 npm test

    - stage: pack
      script:
        - echo "NPM Pack Testing..."
        - npm run test:pack
        - echo 'NPM Pack Testing is PASSED.'

    - stage: deploy
      script:
{'fraction_non_alphanumeric': 0.11077389984825493, 'fraction_numerical': 0.0030349013657056147, 'mean_word_length': 1.9841628959276019, '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': '556918', 'n_tokens_mistral': 491, 'n_tokens_neox': 465, 'n_words': 136}