<commit_before>language: ruby
cache: bundler

rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6

before_install:
  - gem install bundler

gemfile:
  # ignore 4.2 for now as the cost to run these tests is too high
  # - gemfiles/rails_4.2.gemfile
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/mongoid_4.0.gemfile
  - gemfiles/mongoid_5.0.gemfile
  - gemfiles/mongoid_6.0.gemfile

matrix:
  include:
    - rvm: ruby-head
      env: RUBYOPT="--enable-frozen-string-literal"
  # allow_failures:
  #   - rvm: ruby-head

addons:
  code_climate:
    repo_token: <PASSWORD><commit_msg>Run frozen string specs against ruby 2.6<commit_after>language: ruby
cache: bundler

rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6

before_install:
  - gem install bundler

gemfile:
  # ignore 4.2 for now as the cost to run these tests is too high
  # - gemfiles/rails_4.2.gemfile
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/mongoid_4.0.gemfile
  - gemfiles/mongoid_5.0.gemfile
  - gemfiles/mongoid_6.0.gemfile

matrix:
  include:
    - rvm: 2.6
      env: RUBYOPT="--enable-frozen-string-literal"
  # allow_failures:
  #   - rvm: ruby-head

addons:
  code_climate:
    repo_token: b84a33c35c698270ad54261655bc25161a0853386825a2d54fb1c7a11c2b2785
{'fraction_non_alphanumeric': 0.10959939531368103, 'fraction_numerical': 0.07482993197278912, 'mean_word_length': 2.871345029239766, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '3333607', 'n_tokens_mistral': 616, 'n_tokens_neox': 560, 'n_words': 101}