<commit_before>dist: xenial
language: ruby
cache:
  bundler: true
  directories:
    - $(npm root)
    - ~/bin
rvm:
  - '1.9.3-p551'
  - '2.0.0-p648'
  - '2.1.10'
  - '2.2.10'
  - '2.3.8'
  - '2.4.10'
  - '2.5.8'
  - '2.6.6'
  - '2.7.2'
  - '3.0.0'
script:
  - ./bundle exec image_optim --info
  - ./bundle exec appraisal rspec
before_install:
  - gem install rubygems-update || gem install rubygems-update --version '< 3'
  - update_rubygems
  - gem install bundler --version '< 2'
  - ruby -e 'puts "#!/bin/sh", %{bundle _#{Gem::Dependency.new("bundler", "< 2.0").to_spec.version}_ "$@"}' > bundle
  - chmod +x bundle
  - nvm install stable
  - command -v svgo || npm install -g svgo
  - mkdir -p ~/bin
  - command -v pngout || curl -L "http://static.jonof.id.au/dl/kenutils/pngout-20150319-linux.tar.gz" | tar -xz -C ~/bin --strip-components 2 --wildcards '*/x86_64/pngout'
install:
  - ./bundle install --jobs=3 --retry=3
  - ./bundle exec appraisal install --jobs=3 --retry=3
matrix:
  include:
    - env: RUBOCOP=1
      rvm: '2.6.6'
      script: bundle exec rubocop
    - env: CHECK_RUBIES=1
      rvm: '2.6.6'
      script: bundle exec travis_check_rubies<commit_msg>travis: ruby 2.5.9, 2.6.7, 2.7.3 and 3.0.1<commit_after>dist: xenial
language: ruby
cache:
  bundler: true
  directories:
    - $(npm root)
    - ~/bin
rvm:
  - '1.9.3-p551'
  - '2.0.0-p648'
  - '2.1.10'
  - '2.2.10'
  - '2.3.8'
  - '2.4.10'
  - '2.5.9'
  - '2.6.7'
  - '2.7.3'
  - '3.0.1'
script:
  - ./bundle exec image_optim --info
  - ./bundle exec appraisal rspec
before_install:
  - gem install rubygems-update || gem install rubygems-update --version '< 3'
  - update_rubygems
  - gem install bundler --version '< 2'
  - ruby -e 'puts "#!/bin/sh", %{bundle _#{Gem::Dependency.new("bundler", "< 2.0").to_spec.version}_ "$@"}' > bundle
  - chmod +x bundle
  - nvm install stable
  - command -v svgo || npm install -g svgo
  - mkdir -p ~/bin
  - command -v pngout || curl -L "http://static.jonof.id.au/dl/kenutils/pngout-20150319-linux.tar.gz" | tar -xz -C ~/bin --strip-components 2 --wildcards '*/x86_64/pngout'
install:
  - ./bundle install --jobs=3 --retry=3
  - ./bundle exec appraisal install --jobs=3 --retry=3
matrix:
  include:
    - env: RUBOCOP=1
      rvm: '2.6.7'
      script: bundle exec rubocop
    - env: CHECK_RUBIES=1
      rvm: '2.6.7'
      script: bundle exec travis_check_rubies
{'fraction_non_alphanumeric': 0.1868962620747585, 'fraction_numerical': 0.0621587568248635, 'mean_word_length': 2.30374479889043, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '701374', 'n_tokens_mistral': 1078, 'n_tokens_neox': 1009, 'n_words': 231}