<commit_before>---
stages:
  - name: Build
    inputs:
      - type: git
        branch: master
    triggers:
      - type: commit
    jobs:
      - name: Changelog
        type: builder
        build_type: shell
        script: |-
          #!/bin/bash
          # This script just dumps the changes included in this build into a file named changelog.txt
          # This change log can be used later to be included in notifications
          git log ${GIT_COMMIT}..HEAD --graph --oneline > changelog.txt
          cat changelog.txt
      - name: NPM
        type: builder
        build_type: npm
        script: |-
          #!/bin/bash
          npm install -g npm@3.7.1
          npm install
  - name: 'Run Unit Tests'
    inputs:
      - type: job
        stage: Build
        job: NPM
    triggers:
      - type: stage
    properties:
      - name: APP_NAME
        value: '${CF_APP}'
        type: text
      - name: SLACK_WEBHOOK_PATH
        value: ''
        type: text
      - name: SLACK_MESSAGE<commit_msg>update npm job to node 0.12 to potentially eliminate phantomjs issue<commit_after>---
stages:
  - name: Build
    inputs:
      - type: git
        branch: master
    triggers:
      - type: commit
    jobs:
      - name: Changelog
        type: builder
        build_type: shell
        script: |-
          #!/bin/bash
          # This script just dumps the changes included in this build into a file named changelog.txt
          # This change log can be used later to be included in notifications
          git log ${GIT_COMMIT}..HEAD --graph --oneline > changelog.txt
          cat changelog.txt
      - name: NPM
        type: builder
        build_type: npm
        script: |-
          #!/bin/bash
          export PATH=/opt/IBM/node-v0.12/bin:$PATH
          npm install -g npm@3.7.1
          npm install
  - name: 'Run Unit Tests'
    inputs:
      - type: job
        stage: Build
        job: NPM
    triggers:
      - type: stage
    properties:
      - name: APP_NAME
        value: '${CF_APP}'
        type: text
      - name: SLACK_WEBHOOK_PATH
        value: ''
        type: text
      - name: SLACK_MESSAGE
{'fraction_non_alphanumeric': 0.08671328671328671, 'fraction_numerical': 0.005594405594405594, 'mean_word_length': 1.5128805620608898, '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': '7517815', 'n_tokens_mistral': 661, 'n_tokens_neox': 636, 'n_words': 207}