<commit_before>sudo: false
language: node_js
node_js:
- '6.3'
after_install:
- npm dedupe
- npm shrinkwrap --dev
- cat npm-shrinkwrap.json
script:
- gulp build --type=prod
after_success:
- 'curl -L https://github.com/netlify/netlifyctl/releases/download/v0.1.0/netlifyctl-linux-amd64-v0.1.0.tar.gz | tar zx'
- '[ $TRAVIS_BRANCH == master ] && ./netlifyctl -y -A $NETLIFY_TOKEN -C netlify.prod.toml deploy'
- '[ $TRAVIS_BRANCH == release ] && ./netlifyctl -y -A $NETLIFY_TOKEN -C netlify.release.toml deploy'
- '[ $TRAVIS_BRANCH == feat/new-ux ] && surge --project ./dist --domain sandbox1.prototypo.io'
branches:
  only:
    - master
    - release
    - feat/new-ux
notifications:
  slack:
    secure: <KEY>
<commit_msg>Update config to minify only in production<commit_after>sudo: false
language: node_js
node_js:
- '6.3'
after_install:
- npm dedupe
- npm shrinkwrap --dev
- cat npm-shrinkwrap.json
script:
- NODE_ENV=production gulp build --type=prod
after_success:
- 'curl -L https://github.com/netlify/netlifyctl/releases/download/v0.1.0/netlifyctl-linux-amd64-v0.1.0.tar.gz | tar zx'
- '[ $TRAVIS_BRANCH == master ] && ./netlifyctl -y -A $NETLIFY_TOKEN -C netlify.prod.toml deploy'
- '[ $TRAVIS_BRANCH == release ] && ./netlifyctl -y -A $NETLIFY_TOKEN -C netlify.release.toml deploy'
branches:
  only:
    - master
    - release
notifications:
  slack:
    secure: <KEY>

{'fraction_non_alphanumeric': 0.15261627906976744, 'fraction_numerical': 0.015261627906976744, 'mean_word_length': 3.4419354838709677, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1137857', 'n_tokens_mistral': 575, 'n_tokens_neox': 555, 'n_words': 115}