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

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

before_install:
  - mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"

sudo: required
dist: trusty

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

env:
  - DB=mysql
  - DB=postgres

language: ruby

rvm:
  - 2.4.2
  - 2.3.1
  - 2.2.7

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

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

before_install:
  - mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"

Test againast ruby 2.4 on Travis
Test againast ruby 2.4 on Travis