<commit_before>language: ruby
rvm:
- 2.1
branches:
  only:
  - master
  - develop
before_install:
- sh -c "if [ '$TRAVIS_BRANCH' = 'develop' ]; then echo 'https://travis-ci.org/$TRAVIS_REPO_SLUG/$TRAVIS_BUILD_ID'
  > 'source/_data/version.yml' ; fi"
install:
- travis_retry npm install
- travis_retry bower install
- travis_retry bundle install
before_script:
- cp _config.sample.yml _config.yml
- sh -c "if [ '$TRAVIS_BRANCH' = 'master' ] && [ '$TRAVIS_PULL_REQUEST' = false ];
  then ruby set_prod_config.rb; fi"
script:
- bundle exec rake generate
- bundle exec rake linklint
after_success:
- sh -c "if [ '$TRAVIS_PULL_REQUEST' = false ]; then bundle exec cap deploy; fi"
- sh -c "if [ '$TRAVIS_PULL_REQUEST' = false ];
  then bundle exec rake invalidate_cloudfront; fi"
env:
  global:
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: KroLKOYGGmplD0nCxTXUB0R+tnK8bFt46yp+d2bzOWxaulKHshwXV231e2AiPHxVlSYVJRiO7pZbTuVhbH7GD1ht41TlRdzURStq4kPSDrP9ZVQwRWpkKjgIMguxPIs/46ccxbA48tBYYJyy/51Ia4isQyQ9Wl083W0mC319kv0=
notifications:
  hipchat:
    rooms:
      secure: <KEY>
    template:
    - '<a href="https://travis-ci.org/%{repository}/builds/%{build_id}">Docs Build
      %{build_number}</a> on branch <i>%{branch}</i> by %{author}: <strong>%{message}</strong>
      <a href="https://github.com/sendgrid/docs/commits/%{commit}">View on GitHub</a>'
    format: html
<commit_msg>updated travis url<commit_after>language: ruby
rvm:
- 2.1
branches:
  only:
  - master
  - develop
before_install:
- sh -c "if [ '$TRAVIS_BRANCH' = 'develop' ]; then echo 'https://travis-ci.org/$TRAVIS_REPO_SLUG/builds/$TRAVIS_BUILD_ID'
  > 'source/_data/version.yml' ; fi"
install:
- travis_retry npm install
- travis_retry bower install
- travis_retry bundle install
before_script:
- cp _config.sample.yml _config.yml
- sh -c "if [ '$TRAVIS_BRANCH' = 'master' ] && [ '$TRAVIS_PULL_REQUEST' = false ];
  then ruby set_prod_config.rb; fi"
script:
- bundle exec rake generate
- bundle exec rake linklint
after_success:
- sh -c "if [ '$TRAVIS_PULL_REQUEST' = false ]; then bundle exec cap deploy; fi"
- sh -c "if [ '$TRAVIS_PULL_REQUEST' = false ];
  then bundle exec rake invalidate_cloudfront; fi"
env:
  global:
  - secure: CQ+PYDS2uWc/g+LfABW812Ur+jhX00hOzJj3TYm+vT<KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: <KEY>
  - secure: KroLKOYGGmplD0nCxTXUB0R+tnK8bFt46yp+d2bzOWxaulKHshwXV231e2AiPHxVlSYVJRiO7pZbTuVhbH7GD1ht41TlRdzURStq4kPSDrP9ZVQwRWpkKjgIMguxPIs/46ccxbA48tBYYJyy/51Ia4isQyQ9Wl083W0mC319kv0=
notifications:
  hipchat:
    rooms:
      secure: <KEY>
    template:
    - '<a href="https://travis-ci.org/%{repository}/builds/%{build_id}">Docs Build
      %{build_number}</a> on branch <i>%{branch}</i> by %{author}: <strong>%{message}</strong>
      <a href="https://github.com/sendgrid/docs/commits/%{commit}">View on GitHub</a>'
    format: html

{'fraction_non_alphanumeric': 0.14790575916230367, 'fraction_numerical': 0.02519633507853403, 'mean_word_length': 4.155143338954469, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 41, 'https://': 6, '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': '6143967', 'n_tokens_mistral': 1349, 'n_tokens_neox': 1292, 'n_words': 242}