<commit_before>language: ruby
cache: bundler
sudo: false

rvm:
  - "2.3.8"
  - "2.4.5"
  - "2.5.3"
  - "ruby-head"

matrix:
  allow_failures:
    - rvm: "ruby-head"

before_script:
  - appraisal install
  - cd test/dummy
  - RAILS_ENV=test bundle exec rake db:create db:schema:load db:environment:set --trace
  - cd ../..

script:
  - appraisal rake test<commit_msg>Attempt to fix failing builds<commit_after>language: ruby
cache: bundler
sudo: false

rvm:
  - "2.3.8"
  - "2.4.5"
  - "2.5.3"
  - "ruby-head"

matrix:
  allow_failures:
    - rvm: "ruby-head"

before_install:
  - gem install bundler

before_script:
  - appraisal install
  - cd test/dummy
  - RAILS_ENV=test bundle exec rake db:create db:schema:load db:environment:set --trace
  - cd ../..

script:
  - appraisal rake test
{'fraction_non_alphanumeric': 0.1394169835234474, 'fraction_numerical': 0.022813688212927757, 'mean_word_length': 2.798076923076923, 'pattern_counts': {'":': 0, '<': 3, '<?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': '164394', 'n_tokens_mistral': 335, 'n_tokens_neox': 315, 'n_words': 73}