1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
kaminari--kaminari/.travis.yml
2021-05-05 00:41:11 +09:00

98 lines
2.6 KiB
YAML

language: ruby
dist: xenial
services:
- postgresql
- mysql
rvm:
- 2.7.3
- 2.6.7
- 2.5.9
- 2.4.10
- 2.3.8
- jruby-9.2.17.0
# - rbx-3
gemfile:
- gemfiles/active_record_60.gemfile
- gemfiles/active_record_52.gemfile
- gemfiles/active_record_51.gemfile
- gemfiles/active_record_50.gemfile
- gemfiles/active_record_42.gemfile
- gemfiles/active_record_41.gemfile
- gemfiles/active_record_edge.gemfile
env:
- DB=sqlite3
- DB=postgresql
- DB=mysql
before_install:
# install older versions of rubygems and bundler only on Ruby < 2.7
- if [ `echo "${TRAVIS_RUBY_VERSION:0:3} < 2.7" | bc` == 1 ]; then gem i rubygems-update -v '<3' && update_rubygems; fi;
- if [ `echo "${TRAVIS_RUBY_VERSION:0:3} < 2.7" | bc` == 1 ]; then gem i bundler -v '<2'; fi;
script: 'bundle exec rake test'
cache: bundler
matrix:
exclude:
- rvm: 2.7.3
gemfile: gemfiles/active_record_52.gemfile
- rvm: 2.7.3
gemfile: gemfiles/active_record_51.gemfile
- rvm: 2.7.3
gemfile: gemfiles/active_record_50.gemfile
- rvm: 2.7.3
gemfile: gemfiles/active_record_42.gemfile
- rvm: 2.7.3
gemfile: gemfiles/active_record_41.gemfile
- rvm: 2.6.7
gemfile: gemfiles/active_record_42.gemfile
- rvm: 2.6.7
gemfile: gemfiles/active_record_41.gemfile
- rvm: 2.5.9
gemfile: gemfiles/active_record_42.gemfile
- rvm: 2.5.9
gemfile: gemfiles/active_record_41.gemfile
- rvm: 2.4.10
gemfile: gemfiles/active_record_edge.gemfile
- rvm: 2.4.10
gemfile: gemfiles/active_record_60.gemfile
- rvm: 2.4.10
gemfile: gemfiles/active_record_42.gemfile
- rvm: 2.4.10
gemfile: gemfiles/active_record_41.gemfile
- rvm: 2.3.8
gemfile: gemfiles/active_record_edge.gemfile
- rvm: 2.3.8
gemfile: gemfiles/active_record_60.gemfile
- rvm: ruby-head
gemfile: gemfiles/active_record_42.gemfile
- rvm: ruby-head
gemfile: gemfiles/active_record_41.gemfile
- rvm: jruby-9.2.17.0
gemfile: gemfiles/active_record_42.gemfile
- rvm: jruby-9.2.17.0
gemfile: gemfiles/active_record_41.gemfile
include:
- rvm: ruby-head
gemfile: gemfiles/active_record_edge.gemfile
env: DB=sqlite3
- rvm: 2.2.10
gemfile: gemfiles/active_record_52.gemfile
env: DB=sqlite3
- rvm: 2.1.10
gemfile: gemfiles/active_record_42.gemfile
env: DB=sqlite3
- rvm: 2.0.0
gemfile: gemfiles/active_record_42.gemfile
env: DB=sqlite3
allow_failures:
- rvm: ruby-head
- rvm: jruby-9.2.17.0
# - rvm: rbx-3
- gemfile: gemfiles/active_record_edge.gemfile
fast_finish: true