<commit_before>language: node_js
sudo: false
node_js:
- '4'
- '6'
before_install:
# Create a master branch for conventional-changelog-lint
- git remote set-branches origin master && git fetch
- git checkout master
- git checkout -

before_script:
# If this command fails and you can't fix it, file an issue and add an exception to .nsprc
- npm run nsp-check

script:
- COVERAGE=y npm test
# Run changelog-lint but only on newer versions of Node (because of syntax errors)
- if [[ ${TRAVIS_NODE_VERSION:0:1} -ge "4" ]]; then
    npm run changelog-lint;
  fi
after_script: npm run publish-coverage

notifications:
  irc:
    channels:
    - irc.mozilla.org#amo-bots
    on_success: change
    on_failure: always
deploy:
  provider: npm
  email: <EMAIL>
  skip_cleanup: true
  # This is the API key for npm user 'addons-robot'
  api_key:
    secure: <KEY>
  on:
    tags: true<commit_msg>refactor: Cleaned changelog if statements (#529)<commit_after>language: node_js
sudo: false
node_js:
- '4'
- '6'
before_install:
# Create a master branch for conventional-changelog-lint
- git remote set-branches origin master && git fetch
- git checkout master
- git checkout -

before_script:
# If this command fails and you can't fix it, file an issue and add an exception to .nsprc
- npm run nsp-check

script:
- COVERAGE=y npm test
- npm run changelog-lint

after_script: npm run publish-coverage

notifications:
  irc:
    channels:
    - irc.mozilla.org#amo-bots
    on_success: change
    on_failure: always
deploy:
  provider: npm
  email: <EMAIL>
  skip_cleanup: true
  # This is the API key for npm user 'addons-robot'
  api_key:
    secure: <KEY>
  on:
    tags: true
{'fraction_non_alphanumeric': 0.08899579073962718, 'fraction_numerical': 0.006013229104028864, 'mean_word_length': 3.558904109589041, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '443382', 'n_tokens_mistral': 593, 'n_tokens_neox': 562, 'n_words': 201}