<commit_before>language: node_js
sudo: false
dist: bionic
node_js:
- '12'
- '14'
- '16'
install:
- npm install
- pip install --user awscli
script:
- npm run build
after_success:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "release" ]]; then
    npm run rebuild-docker-image;
    npm config set //registry.npmjs.org/:_authToken="$NPM_TOKEN";
    npm publish;
  fi
notifications:
  email:
    on_success: never
    on_failure: always
<commit_msg>Only publish to npm using Node.js 14<commit_after>language: node_js
sudo: false
dist: bionic
node_js:
- '12'
- '14'
- '16'
install:
- npm install
- pip install --user awscli
script:
- npm run build
after_success:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "release" && "$TRAVIS_NODE_VERSION" == "14" ]]; then
    npm run rebuild-docker-image;
    npm config set //registry.npmjs.org/:_authToken="$NPM_TOKEN";
    npm publish;
  fi
notifications:
  email:
    on_success: never
    on_failure: always

{'fraction_non_alphanumeric': 0.14184397163120568, 'fraction_numerical': 0.016210739614994935, 'mean_word_length': 3.843137254901961, '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': '1484173', 'n_tokens_mistral': 389, 'n_tokens_neox': 360, 'n_words': 96}