<commit_before>dist: trusty
sudo: false
group: stable
cache: bundler
language: ruby
addons:
  postgresql: '9.6'
  apt:
    packages:
      - libpcap-dev
      - graphviz
rvm:
  - 2.5.0
before_script:
  - cp spec/dummy/config/database.yml.travis spec/dummy/config/database.yml
  - bundle exec rake --version
  - bundle exec rake db:create db:migrate
script:
  - git diff --exit-code spec/dummy/db/structure.sql
  - bundle exec rake spec
  - bundle exec rake yard<commit_msg>Disable structure.sql check on travis<commit_after>dist: trusty
sudo: false
group: stable
cache: bundler
language: ruby
addons:
  postgresql: '9.6'
  apt:
    packages:
      - libpcap-dev
      - graphviz
rvm:
  - 2.5.0
before_script:
  - cp spec/dummy/config/database.yml.travis spec/dummy/config/database.yml
  - bundle exec rake --version
  - bundle exec rake db:create db:migrate
script:
  # Disabling this check because it is proving unreliable
  #- git diff --exit-code spec/dummy/db/structure.sql
  - bundle exec rake spec
  - bundle exec rake yard
{'fraction_non_alphanumeric': 0.1000971817298348, 'fraction_numerical': 0.009718172983479106, 'mean_word_length': 3.0711462450592886, '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': '7264161', 'n_tokens_mistral': 370, 'n_tokens_neox': 360, 'n_words': 101}