<commit_before>rvm: 2.1

sudo: required

addons:
  apt:
    sources:
      - chef-current-precise
    packages:
      - chefdk

install:
  - bundle install --deployment --with integration

services: docker

before_script:
  - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
  - eval "$(/opt/chefdk/bin/chef shell-init bash)"
  - /opt/chefdk/bin/rubocop -v
  - /opt/chefdk/bin/foodcritic -V
  - /opt/chefdk/embedded/bin/rspec -v
  - /opt/chefdk/bin/kitchen -v
  - bundle exec kitchen create all

script:
  - /opt/chefdk/bin/rubocop
  - /opt/chefdk/bin/foodcritic . --exclude spec
  - /opt/chefdk/embedded/bin/rspec -r spec_helper.rb
  - bundle exec kitchen converge all
  - bundle exec kitchen verify all<commit_msg>Changed .travis.yml to avoid max exec time.<commit_after>rvm: 2.1

sudo: required

addons:
  apt:
    sources:
      - chef-current-precise
    packages:
      - chefdk

env:
  matrix:
    - PLATFORMS='default-centos-67'
    - PLATFORMS='default-centos-71'
    - PLATFORMS='default-debian-7'
    - PLATFORMS='default-ubuntu-1204'
    - PLATFORMS='default-ubuntu-1404'

install:
  - bundle install --deployment --with integration

services: docker

before_script:
  - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
  - eval "$(/opt/chefdk/bin/chef shell-init bash)"
  - /opt/chefdk/bin/rubocop -v
  - /opt/chefdk/bin/foodcritic -V
  - /opt/chefdk/embedded/bin/rspec -v
  - /opt/chefdk/bin/kitchen -v
  - bundle exec kitchen create all

script:
  - /opt/chefdk/bin/rubocop
  - /opt/chefdk/bin/foodcritic . --exclude spec
  - /opt/chefdk/embedded/bin/rspec -r spec_helper.rb
  - travis_retry bundle exec kitchen converge $PLATFORMS
  - travis_retry bundle exec kitchen verify $PLATFORMS
{'fraction_non_alphanumeric': 0.12451144611948632, 'fraction_numerical': 0.009491903964265773, 'mean_word_length': 2.7489539748953975, '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': '5641309', 'n_tokens_mistral': 715, 'n_tokens_neox': 685, 'n_words': 148}