<commit_before>language: ruby
cache: bundler

rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - ruby-head
  - truffleruby
  - jruby
  - jruby-head
  - rbx-3

matrix:
  allow_failures:
    - rvm: truffleruby
    - rvm: jruby
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx-3
  exclude:
    - rvm: 2.3
      os: osx
    - rvm: 2.4
      os: osx
    - rvm: 2.5
      os: osx
    - rvm: jruby-head
      os: osx
    - rvm: rbx-3
      os: osx
  fast_finish: true

os:
  - linux
  - osx

env:
  # TODO: 0.8 is enough on Linux, but 2 seems needed for Travis/OSX
  - LISTEN_TESTS_DEFAULT_LAG=2<commit_msg>Better handling of travis OS selection.<commit_after>language: ruby
cache: bundler

matrix:
  include:
    - rvm: 2.3
    - rvm: 2.4
    - rvm: 2.5
    - rvm: 2.6
    - rvm: 2.5
      os: osx
    - rvm: 2.6
      os: osx
    - rvm: jruby
    - rvm: truffleruby
    - rvm: jruby-head
    - rvm: ruby-head
    - rvm: rbx-3
  allow_failures:
    - rvm: truffleruby
    - rvm: jruby
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx-3
  exclude:
    - rvm: 2.3
      os: osx
    - rvm: 2.4
      os: osx
    - rvm: 2.5
      os: osx
    - rvm: jruby-head
      os: osx
    - rvm: rbx-3
      os: osx
  fast_finish: true

env:
  # TODO: 0.8 is enough on Linux, but 2 seems needed for Travis/OSX
  - LISTEN_TESTS_DEFAULT_LAG=2
{'fraction_non_alphanumeric': 0.11680482290881689, 'fraction_numerical': 0.0346646571213263, 'mean_word_length': 1.5391969407265775, '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': '442614', 'n_tokens_mistral': 650, 'n_tokens_neox': 609, 'n_words': 150}