<commit_before>language: ruby

sudo: false

script: bundle exec rake travis

rvm:
  - 1.9
  - 2.0
  - 2.1
  - 2.2
  - jruby-19mode
  - jruby-head

gemfile:
  - Gemfile
  - gemfiles/Gemfile-edge

matrix:
  fast_finish: true

  allow_failures:
    - rvm: jruby-head

notifications:
  email: false
  irc:
    channels:
      - "irc.freenode.org#ruby-fog"
    template:
      - "[#%{build_number}] %{message} %{build_url}"
      - "[#%{build_number}] %{commit} on %{branch} by %{author}"
      - "[#%{build_number}] %{compare_url}"
    on_success: always
    on_failure: always
    use_notice: false

before_install:
  - gem update --system #  todo: workaround for https://github.com/rubygems/rubygems/pull/763
<commit_msg>Allow failures on latest Ruby version<commit_after>language: ruby

sudo: false

script: bundle exec rake travis

rvm:
  - 1.9
  - 2.0
  - 2.1
  - 2.2
  - jruby-19mode
  - jruby-head

gemfile:
  - Gemfile
  - gemfiles/Gemfile-edge

matrix:
  fast_finish: true

  allow_failures:
    - rvm: jruby-head
    - rvm: 2.2

notifications:
  email: false
  irc:
    channels:
      - "irc.freenode.org#ruby-fog"
    template:
      - "[#%{build_number}] %{message} %{build_url}"
      - "[#%{build_number}] %{commit} on %{branch} by %{author}"
      - "[#%{build_number}] %{compare_url}"
    on_success: always
    on_failure: always
    use_notice: false

before_install:
  - gem update --system #  todo: workaround for https://github.com/rubygems/rubygems/pull/763

{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.018957345971563982, 'mean_word_length': 2.741772151898734, 'pattern_counts': {'":': 0, '<': 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': '7335601', 'n_tokens_mistral': 608, 'n_tokens_neox': 562, 'n_words': 121}