<commit_before>language: ruby

sudo: required
cache: bundler

services:
 - mysql
 - postgresql

dist: trusty

before_install:
  - jdk_switcher use openjdk8
  - ./.travis-install-dependencies.sh

before_script:
  - jdk_switcher use $JDK

notifications:
  email:
    - <EMAIL>

env:
  global:
    - RAILS_ENV=test DB_PASSWORD='' JRUBY_OPTS='-J-Xmx1024m --debug -J-Djava.security.egd=file:/dev/./urandom'
  matrix:
    - DB_ADAPTER=mysql2 DB_USER='root' DB_PORT=3306
    - DB_ADAPTER=mariadb DB_USER='root' DB_PORT=3306
    - DB_ADAPTER=postgresql DB_USER='postgres' DB_PORT=5432

rvm:
  - 2.4.0
  - jruby-9.1.12.0
  - ruby-head
  - jruby-head

matrix:
  exclude:
    - rvm: 2.4.0
      env: DB_ADAPTER=mariadb DB_USER='root' DB_PORT=3306
    - rvm: ruby-head
      env: DB_ADAPTER=mariadb DB_USER='root' DB_PORT=3306
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
<commit_msg>travis: update to Ruby 2.4.2<commit_after>language: ruby

sudo: required
cache: bundler

services:
 - mysql
 - postgresql

dist: trusty

before_install:
  - jdk_switcher use openjdk8
  - ./.travis-install-dependencies.sh

before_script:
  - jdk_switcher use $JDK

notifications:
  email:
    - <EMAIL>

env:
  global:
    - RAILS_ENV=test DB_PASSWORD='' JRUBY_OPTS='-J-Xmx1024m --debug -J-Djava.security.egd=file:/dev/./urandom'
  matrix:
    - DB_ADAPTER=mysql2 DB_USER='root' DB_PORT=3306
    - DB_ADAPTER=mariadb DB_USER='root' DB_PORT=3306
    - DB_ADAPTER=postgresql DB_USER='postgres' DB_PORT=5432

rvm:
  - 2.4.0
  - jruby-9.1.12.0
  - ruby-head
  - jruby-head

matrix:
  exclude:
    - rvm: 2.4.2
      env: DB_ADAPTER=mariadb DB_USER='root' DB_PORT=3306
    - rvm: ruby-head
      env: DB_ADAPTER=mariadb DB_USER='root' DB_PORT=3306
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head

{'fraction_non_alphanumeric': 0.12562814070351758, 'fraction_numerical': 0.042992741485203795, 'mean_word_length': 3.1195402298850574, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4277923', 'n_tokens_mistral': 832, 'n_tokens_neox': 781, 'n_words': 132}