<commit_before>language: ruby
rvm: 2.2.7
sudo: false
matrix:
  include:
    - rvm: 2.2.7
    - rvm: 2.3.4
    - rvm: 2.4.1
    - rvm: ruby-head
  allow_failures:
    - rvm: ruby-head
  fast_finish: true

os:
  - linux

services:
  - postgresql
  - mysql
  - redis-server

before_install:
  - gem install bundler
  - psql -c 'create database ci_test;' -U postgres
  - mysql -e 'create database if not exists ci_test;'

script:
  - gem list -l
  - bundle exec rake
  - bundle exec codeclimate-test-reporter
  - gem build ./midori-contrib.gemspec<commit_msg>Update ci with latest ruby versions<commit_after>language: ruby
rvm: 2.2.7
sudo: false
matrix:
  include:
    - rvm: 2.2.8
    - rvm: 2.3.5
    - rvm: 2.4.2
    - rvm: ruby-head
  allow_failures:
    - rvm: ruby-head
  fast_finish: true

os:
  - linux

services:
  - postgresql
  - mysql
  - redis-server

before_install:
  - gem install bundler
  - psql -c 'create database ci_test;' -U postgres
  - mysql -e 'create database if not exists ci_test;'

script:
  - gem list -l
  - bundle exec rake
  - bundle exec codeclimate-test-reporter
  - gem build ./midori-contrib.gemspec
{'fraction_non_alphanumeric': 0.10954063604240283, 'fraction_numerical': 0.02120141342756184, 'mean_word_length': 2.4126506024096384, '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': '6903562', 'n_tokens_mistral': 461, 'n_tokens_neox': 441, 'n_words': 122}