<commit_before>language:
  - node_js

node_js:
  - 6
  - 8
  - 10

branches:
  except:
    - /^v\d+\.\d+\.\d+$/

cache:
  directories:
    - $HOME/.npm
    - node_modules
    - .eslintcache

before_install:
  - dpkg --compare-versions `npm -v` ge 6.0 || npm i -g npm@latest

install:
  - if [[ "$TRAVIS_BRANCH" = "greenkeeper/"* ]]; then npm install; else npm ci; fi

before_script:
  - greenkeeper-lockfile-update

script:
  - npm test
  - npm run cover

after_success:
  - test $TRAVIS_NODE_VERSION = 8 && bash <(curl -s https://codecov.io/bash)

after_script:
 - greenkeeper-lockfile-upload

jobs:
  include:
    - stage: publish
      node_js: 8
      script: npm run release<commit_msg>chore(ci): refactor travis file<commit_after>language:
  - node_js

node_js:
  - "10"
  - "8"
  - "6"

cache:
  directories:
    - "$HOME/.npm"
    - ".eslintcache"

if: tag IS blank # do not build tags

before_install:
  - dpkg --compare-versions `npm -v` ge 6.0 || npm i -g npm@latest

install:
  - if [[ "$TRAVIS_BRANCH" = "greenkeeper/"* ]]; then npm install; else npm ci; fi

before_script:
  - greenkeeper-lockfile-update

script:
  - npm test
  - npm run cover

after_success:
  - bash <(curl -s https://codecov.io/bash)

after_script:
 - greenkeeper-lockfile-upload

jobs:
  include:
    - stage: publish
      node_js: 8
      script: npm run release
{'fraction_non_alphanumeric': 0.1385185185185185, 'fraction_numerical': 0.011111111111111112, 'mean_word_length': 2.583554376657825, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5467216', 'n_tokens_mistral': 554, 'n_tokens_neox': 516, 'n_words': 131}