<commit_before>dist: xenial
language: ruby
rvm: 2.6.3
gemfile:
  - Gemfile
services:
  - postgresql
  - redis-server
script: bundle exec rake test
before_install:
  - createdb searchkick_test || true
  - ./test/ci/install_elasticsearch.sh
cache:
  directories:
    - $HOME/elasticsearch
env:
  - ELASTICSEARCH_VERSION=7.2.0
jdk: openjdk10
matrix:
  include:
    - gemfile: Gemfile
    - gemfile: test/gemfiles/activerecord51.gemfile
      env: ELASTICSEARCH_VERSION=7.0.0
    - gemfile: test/gemfiles/activerecord50.gemfile
      env: ELASTICSEARCH_VERSION=6.8.0
    - gemfile: test/gemfiles/mongoid7.gemfile
      env: ELASTICSEARCH_VERSION=6.0.0
      services:
        - mongodb
        - redis-server
    - gemfile: test/gemfiles/mongoid6.gemfile
      services:
        - mongodb
        - redis-server
notifications:
  email:
    on_success: never
    on_failure: change<commit_msg>Test against ES 6.8.1 [skip ci]<commit_after>dist: xenial
language: ruby
rvm: 2.6.3
gemfile:
  - Gemfile
services:
  - postgresql
  - redis-server
script: bundle exec rake test
before_install:
  - createdb searchkick_test || true
  - ./test/ci/install_elasticsearch.sh
cache:
  directories:
    - $HOME/elasticsearch
env:
  - ELASTICSEARCH_VERSION=7.2.0
jdk: openjdk10
matrix:
  include:
    - gemfile: Gemfile
    - gemfile: test/gemfiles/activerecord51.gemfile
      env: ELASTICSEARCH_VERSION=7.0.0
    - gemfile: test/gemfiles/activerecord50.gemfile
      env: ELASTICSEARCH_VERSION=6.8.1
    - gemfile: test/gemfiles/mongoid7.gemfile
      env: ELASTICSEARCH_VERSION=6.0.0
      services:
        - mongodb
        - redis-server
    - gemfile: test/gemfiles/mongoid6.gemfile
      services:
        - mongodb
        - redis-server
notifications:
  email:
    on_success: never
    on_failure: change
{'fraction_non_alphanumeric': 0.09587513935340022, 'fraction_numerical': 0.027313266443701228, 'mean_word_length': 2.7869198312236287, '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': '3453233', 'n_tokens_mistral': 672, 'n_tokens_neox': 648, 'n_words': 120}