<commit_before>sudo: required
language: ruby
rvm:
  - 2.0
  - 2.1
  - 2.2
  - 2.3
  - 2.4
env:
  - CALC_VERSION=2.12.5.0   # version in deb 8 (12-Oct-2014)
  - CALC_VERSION=2.12.5.6   # latest unstable  (22-May-2017)
  - CALC_VERSION=2.12.6.0   # latest stable    (05-Jun-2017)
before_install:
  - gem install bundler     # travis ruby 2.0.0 installs bundler 1.7, update it
  - bin/install_calc.sh
after_success:
  - bin/todo.rb<commit_msg>Test against ruby 2.5.0-preview1<commit_after>sudo: required
language: ruby
rvm:
  - 2.0
  - 2.1
  - 2.2
  - 2.3
  - 2.4
  - 2.5.0-preview1
env:
  - CALC_VERSION=2.12.5.0   # version in deb 8 (12-Oct-2014)
  - CALC_VERSION=2.12.5.6   # latest unstable  (22-May-2017)
  - CALC_VERSION=2.12.6.0   # latest stable    (05-Jun-2017)
before_install:
  - gem install bundler     # travis ruby 2.0.0 installs bundler 1.7, update it
  - bin/install_calc.sh
after_success:
  - bin/todo.rb
{'fraction_non_alphanumeric': 0.14052287581699346, 'fraction_numerical': 0.11546840958605664, 'mean_word_length': 2.3911439114391144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '3038071', 'n_tokens_mistral': 467, 'n_tokens_neox': 401, 'n_words': 83}