2014-10-21 02:41:01 -04:00
|
|
|
language: ruby
|
2019-06-13 21:39:05 -04:00
|
|
|
dist: xenial
|
|
|
|
services:
|
|
|
|
- postgresql
|
2015-02-08 16:38:55 -05:00
|
|
|
env:
|
2019-03-21 01:24:02 -04:00
|
|
|
matrix:
|
|
|
|
- DATABASE_ADAPTER=sqlite3
|
|
|
|
- DATABASE_ADAPTER=postgresql
|
2011-09-12 06:48:27 -04:00
|
|
|
rvm:
|
2020-06-20 22:32:12 -04:00
|
|
|
- 2.7.1
|
|
|
|
- 2.6.6
|
|
|
|
- 2.5.8
|
|
|
|
- 2.4.10
|
2011-09-12 06:48:27 -04:00
|
|
|
gemfile:
|
2019-03-21 01:24:02 -04:00
|
|
|
- gemfiles/rails_6_0.gemfile
|
2020-01-01 15:20:50 -05:00
|
|
|
- gemfiles/rails_5_2.gemfile
|
|
|
|
- gemfiles/rails_5_1.gemfile
|
|
|
|
- gemfiles/rails_5_0.gemfile
|
|
|
|
- gemfiles/rails_4_2.gemfile
|
2019-01-29 01:43:47 -05:00
|
|
|
matrix:
|
|
|
|
exclude:
|
2020-06-20 22:32:12 -04:00
|
|
|
- rvm: 2.7.1
|
2019-03-21 01:47:03 -04:00
|
|
|
gemfile: gemfiles/rails_4_2.gemfile
|
2020-06-20 22:32:12 -04:00
|
|
|
- rvm: 2.6.6
|
|
|
|
gemfile: gemfiles/rails_4_2.gemfile
|
|
|
|
- rvm: 2.4.10
|
2020-01-01 15:20:50 -05:00
|
|
|
gemfile: gemfiles/rails_6_0.gemfile
|
2020-06-20 22:32:12 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- /home/travis/.rvm/gems/ruby-2.7.1
|
|
|
|
- /home/travis/.rvm/gems/ruby-2.6.6
|
|
|
|
- /home/travis/.rvm/gems/ruby-2.5.8
|
|
|
|
- /home/travis/.rvm/gems/ruby-2.4.10
|
2019-03-21 03:03:41 -04:00
|
|
|
# Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
|
|
|
|
before_install:
|
2020-06-20 22:32:12 -04:00
|
|
|
- gem update --system --force --no-document
|
2019-03-21 03:03:41 -04:00
|
|
|
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
|
|
|
- gem install bundler -v '< 2' --no-document
|
|
|
|
install: "bundle install --jobs=3 --retry=3"
|
|
|
|
script: "bundle exec rake"
|
2020-07-11 03:24:17 -04:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|