<commit_before>---
sudo: required
language: ruby
bundler_args: "--without development"
dist: trusty
cache: bundler

services:
- docker

rvm: 2.4.4

before_install:
  - gem update --system # see https://github.com/bundler/bundler/issues/5357

env:

 - INSTANCE=ubuntu-1404
 - INSTANCE=ubuntu-1604
 - INSTANCE=ubuntu-1604 CHEF_VERSION=12.5.1
 - INSTANCE=ubuntu-1804
 - INSTANCE=centos-6
 - INSTANCE=centos-7
 - INSTANCE=centos-7 CHEF_VERSION=12.5.1
 - INSTANCE=oracle-6
 - INSTANCE=oracle-7
 - INSTANCE=debian-8
 - INSTANCE=debian-9
 - INSTANCE=fedora-27
 - INSTANCE=fedora-28
 - INSTANCE=opensuse-42
 - INSTANCE=opensuse-42 CHEF_VERSION=12.5.1
 - INSTANCE=amazonlinux-1
 - INSTANCE=amazonlinux-2

script:
  -  bundle exec rake kitchen KITCHEN_LOCAL_YAML=.kitchen.dokken.yml

matrix:
  include:
    - env: UNIT_AND_LINT=1
      script:
        - bundle exec rake lint spec
<commit_msg>Use latest ruby in the tests<commit_after>---
sudo: required
language: ruby
bundler_args: "--without development"
dist: trusty
cache: bundler

services:
- docker

rvm: 2.5.1

before_install:
  - gem update --system # see https://github.com/bundler/bundler/issues/5357

env:

 - INSTANCE=ubuntu-1404
 - INSTANCE=ubuntu-1604
 - INSTANCE=ubuntu-1604 CHEF_VERSION=12.5.1
 - INSTANCE=ubuntu-1804
 - INSTANCE=centos-6
 - INSTANCE=centos-7
 - INSTANCE=centos-7 CHEF_VERSION=12.5.1
 - INSTANCE=oracle-6
 - INSTANCE=oracle-7
 - INSTANCE=debian-8
 - INSTANCE=debian-9
 - INSTANCE=fedora-27
 - INSTANCE=fedora-28
 - INSTANCE=opensuse-42
 - INSTANCE=opensuse-42 CHEF_VERSION=12.5.1
 - INSTANCE=amazonlinux-1
 - INSTANCE=amazonlinux-2

script:
  -  bundle exec rake kitchen KITCHEN_LOCAL_YAML=.kitchen.dokken.yml

matrix:
  include:
    - env: UNIT_AND_LINT=1
      script:
        - bundle exec rake lint spec

{'fraction_non_alphanumeric': 0.120157215047726, 'fraction_numerical': 0.05951712521055587, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5641108', 'n_tokens_mistral': 793, 'n_tokens_neox': 709, 'n_words': 123}