<commit_before>sudo: false
cache: bundler

language: ruby

matrix:
  exclude:
    # Rails 5.0 dropped support for Ruby <2.2
    - rvm: 2.1
      gemfile: Gemfile.activejob50

rvm:
  - 2.1
  - 2.2.2
  - 2.3.3
  - 2.4.0

gemfile:
  - Gemfile.activejob42
  - Gemfile.activejob50

before_install:
  - gem update --system
  - gem install bundler

script:
  - bundle exec rubocop
  - bundle exec rspec spec
  - bundle exec rake test

services:
  - redis
  - rabbitmq

addons:
  postgresql: "9.6"
<commit_msg>Don't test Rails 4.2 with Ruby 2.4<commit_after>sudo: false
cache: bundler

language: ruby

matrix:
  exclude:
    # Rails 5.0 dropped support for Ruby <2.2
    - rvm: 2.1
      gemfile: Gemfile.activejob50
    # Rails 4-2-stable supports Ruby 2.4, but the released version doesn't. Ignore for now.
    - rvm: 2.4.0
      gemfile: Gemfile.activejob42

rvm:
  - 2.1
  - 2.2.2
  - 2.3.3
  - 2.4.0

gemfile:
  - Gemfile.activejob42
  - Gemfile.activejob50

before_install:
  - gem update --system
  - gem install bundler

script:
  - bundle exec rubocop
  - bundle exec rspec spec
  - bundle exec rake test

services:
  - redis
  - rabbitmq

addons:
  postgresql: "9.6"

{'fraction_non_alphanumeric': 0.10179640718562874, 'fraction_numerical': 0.05389221556886228, 'mean_word_length': 2.35243553008596, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7093364', 'n_tokens_mistral': 499, 'n_tokens_neox': 462, 'n_words': 127}