<commit_before>sudo: required
dist: trusty

before_script: "bundle install"
script:
  - bundle exec rake test_app
  - bundle exec rake spec

env:
  - DB=mysql
  - DB=postgres

language: ruby

rvm:
  - 2.5.1
  - 2.4.4
  - 2.3.7

gemfile:
  - gemfiles/spree_3_2.gemfile
  - gemfiles/spree_3_5.gemfile
  - gemfiles/spree_3_7.gemfile
  - gemfiles/spree_master.gemfile

matrix:
    allow_failures:
          - gemfile: gemfiles/spree_master.gemfile

before_install:
  - mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"
<commit_msg>Corrects .travis.yml<commit_after>sudo: required
dist: trusty

before_script: "bundle install"
script:
  - bundle exec rake test_app
  - bundle exec rake spec

env:
  - DB=mysql
  - DB=postgres

language: ruby

addons:
  chrome: stable
  postgresql: 9.4
  
rvm:
  - 2.5.1
  - 2.4.4
  - 2.3.8

gemfile:
  - gemfiles/spree_3_5.gemfile
  - gemfiles/spree_3_7.gemfile
  - gemfiles/spree_4_0.gemfile
  - gemfiles/spree_master.gemfile

matrix:
  allow_failures:
    - gemfile: gemfiles/spree_master.gemfile
  exclude:
    - rvm: 2.3.8
      gemfile: gemfiles/spree_4_0.gemfile
    - rvm: 2.4.4
      gemfile: gemfiles/spree_4_0.gemfile
    - rvm: 2.3.8
      gemfile: gemfiles/spree_master.gemfile
    - rvm: 2.4.4
      gemfile: gemfiles/spree_master.gemfile
    - rvm: 2.5.1
      gemfile: gemfiles/spree_3_5.gemfile

before_install:
  - mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"
  - wget -N https://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip -P ~/
  - unzip ~/chromedriver_linux64.zip -d ~/
  - rm ~/chromedriver_linux64.zip
  - sudo mv -f ~/chromedriver /usr/local/share/
  - sudo chmod +x /usr/local/share/chromedriver
  - sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
{'fraction_non_alphanumeric': 0.12314709236031927, 'fraction_numerical': 0.03534777651083238, 'mean_word_length': 2.7580299785867237, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '7073842', 'n_tokens_mistral': 779, 'n_tokens_neox': 743, 'n_words': 138}