<commit_before>language: node_js
node_js:
- '0.10'
env:
  matrix:
  - NODE_ENV=NPM
  - NODE_ENV=STAGING
  - NODE_ENV=MOFODEV
before_deploy:
- ./node_modules/.bin/gulp build
deploy:
  matrix:
  - provider: npm
    skip_cleanup: true
    email: <EMAIL>
    api_key:
      secure: <KEY>
    on:
      tags: true
      repo: mozillafordevelopment/webmaker-app
      all_branches: true
  - provider: s3
    skip_cleanup: true
    access_key_id: <KEY>
    secret_access_key:
      secure: <KEY>
    bucket: webmaker-app-staging
    local-dir: build
    on:
      all_branches: true
      tags: true
      repo: mozillafordevelopment/webmaker-app
  - provider: s3
    skip_cleanup: true
    access_key_id: <KEY>
    secret_access_key:
      secure: <KEY>
    bucket: webmaker-app
    local-dir: build
    on:
      branch: master
      repo: mozillafordevelopment/webmaker-app<commit_msg>fix travis deploy<commit_after>language: node_js
node_js:
- '0.10'
env:
  matrix:
  - NODE_ENV=NPM
  - NODE_ENV=STAGING
  - NODE_ENV=MOFODEV
before_deploy:
- ./node_modules/.bin/gulp build
deploy:
  - provider: npm
    skip_cleanup: true
    email: <EMAIL>
    api_key:
      secure: <KEY>
    on:
      tags: true
      repo: mozillafordevelopment/webmaker-app
      all_branches: true
      condition: $NODE_ENV=NPM
  - provider: s3
    skip_cleanup: true
    access_key_id: <KEY>
    secret_access_key:
      <KEY>
    bucket: webmaker-app-staging
    local-dir: build
    on:
      all_branches: true
      tags: true
      repo: mozillafordevelopment/webmaker-app
      condition: $NODE_ENV=STAGING
  - provider: s3
    skip_cleanup: true
    access_key_id: <KEY>
    secret_access_key:
      <KEY>
    bucket: webmaker-app
    local-dir: build
    on:
      branch: master
      repo: mozillafordevelopment/webmaker-app
      condition: $NODE_ENV=MOFODEV
{'fraction_non_alphanumeric': 0.09234111895708853, 'fraction_numerical': 0.005431830526887561, 'mean_word_length': 2.5836575875486383, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '6013248', 'n_tokens_mistral': 685, 'n_tokens_neox': 670, 'n_words': 140}