<commit_before>language: ruby
rvm:
- 2.1

install:
 - bundle install
 - npm install


script: cd "$TRAVIS_BUILD_DIR" && mkdir _site && git clone -q https://ianlintner-wf:$GITHUB_API_KEY@github.com/ianlintner-wf/til.git -b gh-pages _site
script: grunt build

after_success: |
  if [ -n "$GITHUB_API_KEY" ]; then
    cd "$TRAVIS_BUILD_DIR"
    cd _site
    git add -A .
    git -c user.name='travis' -c user.email='travis' commit -m 'automated build'

    git remote add ghub https://ianlintner-wf:$GITHUB_API_KEY@github.com/ianlintner-wf/til.git

    # Make sure to make the output quiet, or else the API token will leak!
    # This works because the API key can replace your password.
    git push -f -q ghub &2>/dev/null
    echo 'git push complete'
    cd "$TRAVIS_BUILD_DIR"
  fi

# branch whitelist, only for GitHub Pages
branches:
  only:
  - master     # test the gh-pages branch
<commit_msg>build<commit_after>language: ruby
rvm:
- 2.1

install:
 - bundle install
 - npm install


script: cd "$TRAVIS_BUILD_DIR" && mkdir _site && git clone -q https://ianlintner-wf:$GITHUB_API_KEY@github.com/ianlintner-wf/til.git -b gh-pages _site
script: grunt build

after_success: |
  if [ -n "$GITHUB_API_KEY" ]; then
    cd "$TRAVIS_BUILD_DIR"
    cd _site
    git add -A .
    git -c user.name='travis' -c user.email='travis' commit -m 'automated build'

    git remote add ghub https://ianlintner-wf:$GITHUB_API_KEY@github.com/ianlintner-wf/til.git

    # Make sure to make the output quiet, or else the API token will leak!
    # This works because the API key can replace your password.
    git push -f -q ghub gh-pages &2>/dev/null
    echo 'git push complete'
    cd "$TRAVIS_BUILD_DIR"
  fi

# branch whitelist, only for GitHub Pages
branches:
  only:
  - master     # test the gh-pages branch

{'fraction_non_alphanumeric': 0.10740122426266, 'fraction_numerical': 0.00333889816360601, 'mean_word_length': 3.191142191142191, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '1005095', 'n_tokens_mistral': 669, 'n_tokens_neox': 637, 'n_words': 201}