<commit_before>sudo: false
dist: trusty
language: node_js

node_js:
  - 12

cache:
  directories:
  - node_modules
  - $HOME/.yarn-cache

install:
  - yarn install

script:
  - npm test

after_script:
  - npm run coverage<commit_msg>Update .travis.yml<commit_after>language: node_js

node_js:
  - 12

cache:
  directories:
  - node_modules
  - $HOME/.yarn-cache

branches:
  only:
  - master
  - release

env:
global:
  - secure: <KEY>

install:
  - yarn install

script:
  - if [ "$TRAVIS_BRANCH" = "develop" ]; then npm run dist; fi
  - npm test

after_script:
  - npm run coverage

deploy:
  provider: pages
  skip-cleanup: true
  github-token: $GITHUB_ACCESS_TOKEN
  target-branch: gh-pages
  local-dir: dist
  on:
    branch: release
{'fraction_non_alphanumeric': 0.1070460704607046, 'fraction_numerical': 0.005420054200542005, 'mean_word_length': 2.9945945945945946, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1938393', 'n_tokens_mistral': 299, 'n_tokens_neox': 284, 'n_words': 70}