<commit_before>box: nodesource/jessie:6.4.0

test:
  steps:
    - npm-install
    - script:
        name: fontello
        code: npm run fontello
    - script:
        name: install-libfontconfig
        code: >
          apt-get update &&
          apt-get install -y --no-install-recommends libfontconfig
    - npm-test
    - script:
        name: archive
        code: mv * ${WERCKER_OUTPUT_DIR}

deploy:
  steps:
    - script:
        name: build
        code: npm run build
    - s3sync:
      key-id: ${AWS_KEY}
      key-secret: ${AWS_SECRET}
      bucket-url: ${AWS_BUCKET}
      source-dir: dist
<commit_msg>use library/node:boron for build container<commit_after>box: node:boron

build:
  steps:
    - npm-install
    - script: # Install custom font from fontello
        name: fontello
        code: npm run fontello
    - script: # Install libfontconfig for PhantomJS to work
        name: install-libfontconfig
        code: >
          apt-get update &&
          apt-get install -y --no-install-recommends libfontconfig
    - npm-test
    - script: # Move the result to the output directory
        name: archive
        code: mv * ${WERCKER_OUTPUT_DIR}

deploy:
  steps:
    - script:
        name: build
        code: npm run build
    - s3sync:
      key-id: ${AWS_KEY}
      key-secret: ${AWS_SECRET}
      bucket-url: ${AWS_BUCKET}
      source-dir: dist

{'fraction_non_alphanumeric': 0.09745454545454546, 'fraction_numerical': 0.0036363636363636364, 'mean_word_length': 1.9152542372881356, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6145269', 'n_tokens_mistral': 461, 'n_tokens_neox': 453, 'n_words': 118}