<commit_before>language: ruby
rvm:
- 2.0.0
- 2.1.0
notifications:
  irc:
    channels:
    - irc.freenode.net#theodi
    template:
    - '%{repository} %{branch} - %{message} %{build_url}'
    on_success: change
    on_failure: always
deploy:
  provider: rubygems
  api_key:
    secure: <KEY>
  gem: odlifier
  on:
    tags: true
    repo: theodi/odlifier
    all_branches: true<commit_msg>Apply tag on successful master build<commit_after>language: ruby
rvm:
- 2.0.0
- 2.1.0
notifications:
  irc:
    channels:
    - irc.freenode.net#theodi
    template:
    - '%{repository} %{branch} - %{message} %{build_url}'
    on_success: change
    on_failure: always
deploy:
  provider: rubygems
  api_key:
    secure: <KEY>
  gem: odlifier
  on:
    tags: true
    repo: theodi/odlifier
    all_branches: true
after_success:
  - export GEM_VERSION=`ruby -r./lib/odlifier/version -e "puts Odlifier::VERSION"`
  - ! '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
  curl -v -X POST -d ''{"ref":"refs/tags/$GEM_VERSION","sha":"''$TRAVIS_COMMIT''"}''  --header
  "Content-Type:application/json" -u $GITHUB_USER:$GITHUB_PASSWORD "https://api.github.com/repos/$TRAVIS_REPO_SLUG/git/refs"'
{'fraction_non_alphanumeric': 0.15754560530679934, 'fraction_numerical': 0.009950248756218905, 'mean_word_length': 3.4375, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '2163212', 'n_tokens_mistral': 491, 'n_tokens_neox': 465, 'n_words': 92}