<commit_before>#!/bin/bash

# Build docs on Travis and publish to gh-pages

# Only run if on master, not a pull request, and for one node version (so we
# don't end up running this once for each version).
if [ "$TRAVIS_REPO_SLUG" == "mhkeller/indian-ocean" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_NODE_VERSION" == "0.12" ]; then

  echo "Publishing docs...\n"

  git config --global user.email "<EMAIL>"
  git config --global user.name "travis-ci"

  cd $HOME
  git clone --quiet https://${GH_TOKEN}@github.com/$TRAVIS_REPO_SLUG build-docs > /dev/null
  cd build-docs

  ./build/docs.sh

  echo "Published docs to gh-pages.\n"

fi<commit_msg>Install dependencies before building docs<commit_after>#!/bin/bash

# Build docs on Travis and publish to gh-pages

# Only run if on master, not a pull request, and for one node version (so we
# don't end up running this once for each version).
if [ "$TRAVIS_REPO_SLUG" == "mhkeller/indian-ocean" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_NODE_VERSION" == "0.12" ]; then

  echo "Publishing docs...\n"

  git config --global user.email "<EMAIL>"
  git config --global user.name "travis-ci"

  cd $HOME
  git clone --quiet https://${GH_TOKEN}@github.com/$TRAVIS_REPO_SLUG build-docs > /dev/null
  cd build-docs
  npm install
  ./build/docs.sh

  echo "Published docs to gh-pages.\n"

fi
{'fraction_non_alphanumeric': 0.15234102026554858, 'fraction_numerical': 0.0041928721174004195, 'mean_word_length': 3.6193548387096772, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6470087', 'n_tokens_mistral': 548, 'n_tokens_neox': 508, 'n_words': 153}