language: ruby
dist: trusty
sudo: false
addons:
  apt:
    packages:
      - chromium-chromedriver
cache:
  bundler: true
rvm:
- 2.5.5
- 2.6.3
before_install:
  - gem install bundler
before_script:
  - bundle exec rake alchemy:spec:prepare
  - export PATH=$PATH:/usr/lib/chromium-browser/
script: bundle exec rspec
after_success: bundle exec codeclimate-test-reporter
env:
- DB=mysql
- DB=postgresql
notifications:
  slack:
    secure: QzOFw1Ph69pzwWBFgtIVkOnjbcRxB9HPRQ+RYjK+2tg+fsbiTJ+wYgHcZL49tPYcLAls4kymkFWzWBF3PCAXJMfKgUCqXzdQ2FuJC/JoVRTLll4wDnZFPG33jsm5tVznmycZ3ma4+ZWfJQ+C+elEBOba6v1kG9eGIy6sH2cvXfE=

language: ruby
dist: trusty
sudo: false
addons:
  postgresql: "9.4"
  apt:
    packages:
      - chromium-chromedriver
cache:
  bundler: true
rvm:
- 2.5.5
- 2.6.3
before_install:
  - gem install bundler
before_script:
  - bundle exec rake alchemy:spec:prepare
  - export PATH=$PATH:/usr/lib/chromium-browser/
script: bundle exec rspec
after_success: bundle exec codeclimate-test-reporter
env:
- DB=mysql
- DB=postgresql
notifications:
  slack:
    secure: QzOFw1Ph69pzwWBFgtIVkOnjbcRxB9HPRQ+RYjK+2tg+fsbiTJ+wYgHcZL49tPYcLAls4kymkFWzWBF3PCAXJMfKgUCqXzdQ2FuJC/JoVRTLll4wDnZFPG33jsm5tVznmycZ3ma4+ZWfJQ+C+elEBOba6v1kG9eGIy6sH2cvXfE=

Use at least postgresql 9.4 for testing
Use at least postgresql 9.4 for testing

Rails 6 does not support postgresql < 9.3
