<commit_before>#!/bin/bash

curl -H "Content-Type: application/json" --data '{"source_type": "Branch", "source_name": '"\"$TRAVIS_BRANCH"\"'}' -X POST https://registry.hub.docker.com/u/evergreenitco/fluentd-kubernetes-coreos-secure/trigger/d8526762-e5dd-44c2-8235-0b079b35eae0/<commit_msg>Updating build.sh to not run if pull_request.<commit_after>#!/bin/bash

if [ "$TRAVIS_EVENT_TYPE" != "pull_request" ]; then

  echo "Starting build on Docker Hub."

  curl -H "Content-Type: application/json" --data '{"source_type": "Branch", "source_name": '"\"$TRAVIS_BRANCH"\"'}' -X POST https://registry.hub.docker.com/u/evergreenitco/fluentd-kubernetes-coreos-secure/trigger/d8526762-e5dd-44c2-8235-0b079b35eae0/

else

  echo "This is a Pull Request, not starting build on Docker Hub."

fi
{'fraction_non_alphanumeric': 0.1698595146871009, 'fraction_numerical': 0.0561941251596424, 'mean_word_length': 4.984732824427481, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4282195', 'n_tokens_mistral': 333, 'n_tokens_neox': 297, 'n_words': 55}