2012-11-27 20:59:21 +00:00
|
|
|
language: ruby
|
2016-08-09 04:09:15 +00:00
|
|
|
cache: bundler
|
2018-02-18 22:14:19 +00:00
|
|
|
|
2020-03-03 02:58:33 +00:00
|
|
|
# For ruby, we test the highest and lowest minor versions only.
|
2011-07-25 20:08:44 +00:00
|
|
|
rvm:
|
2020-03-03 02:58:33 +00:00
|
|
|
- 2.4
|
2020-01-02 14:43:51 +00:00
|
|
|
- 2.7
|
2018-02-18 22:14:19 +00:00
|
|
|
|
2014-03-14 20:11:10 +00:00
|
|
|
env:
|
2015-03-25 23:41:10 +00:00
|
|
|
global:
|
|
|
|
- TRAVIS=true
|
|
|
|
matrix:
|
|
|
|
- DB=mysql
|
|
|
|
- DB=postgres
|
|
|
|
- DB=sqlite
|
2018-09-17 18:59:42 +00:00
|
|
|
|
2020-07-15 09:07:57 +00:00
|
|
|
# Travis recommend we use the VM infrastructure (`sudo: required`)
|
2018-09-17 18:59:42 +00:00
|
|
|
sudo: required
|
|
|
|
|
2018-12-04 21:10:35 +00:00
|
|
|
before_install:
|
|
|
|
- gem update bundler
|
|
|
|
|
2013-08-01 18:59:58 +00:00
|
|
|
gemfile:
|
2018-03-20 15:25:13 +00:00
|
|
|
- gemfiles/ar_5.2.gemfile
|
2018-12-04 21:10:35 +00:00
|
|
|
- gemfiles/ar_6.0.gemfile
|
2013-03-08 16:12:23 +00:00
|
|
|
matrix:
|
2018-12-04 21:10:35 +00:00
|
|
|
exclude:
|
2019-01-02 00:14:47 +00:00
|
|
|
# rails 6 requires ruby >= 2.5.0
|
2020-03-03 02:58:33 +00:00
|
|
|
- rvm: 2.4
|
2018-12-04 21:10:35 +00:00
|
|
|
gemfile: gemfiles/ar_6.0.gemfile
|
2014-03-07 21:26:41 +00:00
|
|
|
fast_finish: true
|
2019-08-01 17:43:37 +00:00
|
|
|
services:
|
|
|
|
- mysql
|
|
|
|
- postgresql
|