<commit_before>sudo: required
dist: trusty

language: ruby

env:
  - DB=postgres
  - DB=mysql

gemfile:
  - gemfiles/spree_3_1.gemfile
  - gemfiles/spree_3_2.gemfile
  - gemfiles/spree_master.gemfile

script:
  - bundle exec rake test_app
  - bundle exec rake spec

rvm:
  - 2.3.1
  - 2.2.7

addons:
  apt:
    packages:
    - mysql-server-5.6
    - mysql-client-core-5.6
    - mysql-client-5.6<commit_msg>Fix travis config for mysql<commit_after>sudo: required
dist: trusty

script:
  - bundle exec rake test_app
  - bundle exec rake spec

env:
  - DB=mysql
  - DB=postgres

language: ruby

rvm:
  - 2.3.1
  - 2.2.7

gemfile:
  - gemfiles/spree_3_1.gemfile
  - gemfiles/spree_3_2.gemfile
  - gemfiles/spree_master.gemfile

before_install:
  - mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"
{'fraction_non_alphanumeric': 0.11809045226130653, 'fraction_numerical': 0.032663316582914576, 'mean_word_length': 2.7069767441860466, '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': '3128018', 'n_tokens_mistral': 350, 'n_tokens_neox': 341, 'n_words': 69}