<commit_before>language: ruby
rvm:
    - 1.8.7
    - 1.9.3
    - 2.0.0
    - 2.1.9
    - 2.2.3
    - 2.3.1
    - 2.4.0
    - 2.5.0
matrix:
  allow_failures:
    - rvm: 1.8.7
    - rvm: 1.9.3
    - rvm: 2.0.0 # rubocop no longer supports ruby < 2.1.0
    - rvm: 2.5.0 # TODO debug rake failure
cache: bundler
sudo: false
script:
  - bundle exec rake
  - bundle exec rubocop -D lib/<commit_msg>travis: Fix build failure by upgrading RubyGems<commit_after>language: ruby
rvm:
    - 1.8.7
    - 1.9.3
    - 2.0.0
    - 2.1.9
    - 2.2.3
    - 2.3.1
    - 2.4.0
    - 2.5.0
matrix:
  allow_failures:
    - rvm: 1.8.7
    - rvm: 1.9.3
    - rvm: 2.0.0 # rubocop no longer supports ruby < 2.1.0
cache: bundler
sudo: false
before_install:
  - gem update --system # https://github.com/travis-ci/travis-ci/issues/8978
script:
  - bundle exec rake
  - bundle exec rubocop -D lib/
{'fraction_non_alphanumeric': 0.14861751152073732, 'fraction_numerical': 0.09101382488479262, 'mean_word_length': 1.6738461538461538, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '164532', 'n_tokens_mistral': 430, 'n_tokens_neox': 397, 'n_words': 92}