2012-11-27 15:59:21 -05:00
|
|
|
language: ruby
|
2016-08-09 00:09:15 -04:00
|
|
|
cache: bundler
|
2018-02-18 17:14:19 -05:00
|
|
|
|
2020-03-02 21:58:33 -05:00
|
|
|
# For ruby, we test the highest and lowest minor versions only.
|
2011-07-25 16:08:44 -04:00
|
|
|
rvm:
|
2020-03-02 21:58:33 -05:00
|
|
|
- 2.4
|
2020-01-02 09:43:51 -05:00
|
|
|
- 2.7
|
2018-02-18 17:14:19 -05:00
|
|
|
|
2014-03-14 16:11:10 -04:00
|
|
|
env:
|
2015-03-25 19:41:10 -04:00
|
|
|
global:
|
|
|
|
- TRAVIS=true
|
|
|
|
matrix:
|
|
|
|
- DB=mysql
|
|
|
|
- DB=postgres
|
|
|
|
- DB=sqlite
|
2018-09-17 14:59:42 -04:00
|
|
|
|
|
|
|
# We want to use `sudo: false` because the container infrastructure is supposed
|
|
|
|
# to be faster, but Travis is having issues with containers lately ..
|
|
|
|
#
|
|
|
|
# > No output has been received in the last 10m0s
|
|
|
|
#
|
|
|
|
# .. and they recommend we use the VM infrastructure (`sudo: required`) in
|
|
|
|
# the meantime.
|
|
|
|
sudo: required
|
|
|
|
|
2018-12-04 16:10:35 -05:00
|
|
|
before_install:
|
|
|
|
- gem update bundler
|
|
|
|
|
2013-08-01 14:59:58 -04:00
|
|
|
gemfile:
|
2018-03-20 11:25:13 -04:00
|
|
|
- gemfiles/ar_5.2.gemfile
|
2018-12-04 16:10:35 -05:00
|
|
|
- gemfiles/ar_6.0.gemfile
|
2013-03-08 11:12:23 -05:00
|
|
|
matrix:
|
2018-12-04 16:10:35 -05:00
|
|
|
exclude:
|
2019-01-01 19:14:47 -05:00
|
|
|
# rails 6 requires ruby >= 2.5.0
|
2020-03-02 21:58:33 -05:00
|
|
|
- rvm: 2.4
|
2018-12-04 16:10:35 -05:00
|
|
|
gemfile: gemfiles/ar_6.0.gemfile
|
2014-03-07 16:26:41 -05:00
|
|
|
fast_finish: true
|
2019-08-01 13:43:37 -04:00
|
|
|
services:
|
|
|
|
- mysql
|
|
|
|
- postgresql
|