<commit_before>sudo: false
cache: bundler
language: ruby
rvm:
  - 2.4.2

env:
  global:
    - GIT_NAME: Travis CI
    - GIT_EMAIL: <EMAIL>

install: bundle install --path=vendor/bundle --retry=3 --jobs=3

before_install:
  - gem install bundler
  - nvm install 9

after_success:
  - npm install docpress && $(npm bin)/docpress build
  - if [ -n "$TRAVIS_TAG" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm install git-update-ghpages && $(npm bin)/git-update-ghpages yosiat/panko_serializer _docpress; fi
  - bundle exec rake benchmarks

env:
  matrix:
  - "RAILS_VERSION=4.2"
  - "RAILS_VERSION=5.0"
  - "RAILS_VERSION=5.1"
<commit_msg>check rails 5.1, and upgrade ruby<commit_after>sudo: false
cache: bundler
language: ruby
rvm:
  - 2.5.0

env:
  global:
    - GIT_NAME: Travis CI
    - GIT_EMAIL: <EMAIL>

install: bundle install --path=vendor/bundle --retry=3 --jobs=3

before_install:
  - gem install bundler
  - nvm install 9

after_success:
  - npm install docpress && $(npm bin)/docpress build
  - if [ -n "$TRAVIS_TAG" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm install git-update-ghpages && $(npm bin)/git-update-ghpages yosiat/panko_serializer _docpress; fi
  - bundle exec rake benchmarks

env:
  matrix:
  - "RAILS_VERSION=4.2"
  - "RAILS_VERSION=5.1"

{'fraction_non_alphanumeric': 0.131496062992126, 'fraction_numerical': 0.01889763779527559, 'mean_word_length': 3.4596491228070176, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1240496', 'n_tokens_mistral': 520, 'n_tokens_neox': 494, 'n_words': 122}