1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
paper-trail-gem--paper_trail/.travis.yml

52 lines
1.2 KiB
YAML
Raw Normal View History

language: ruby
cache: bundler
2018-02-18 17:14:19 -05:00
# For ruby compatibility, we test the highest and lowest minor versions only.
# For example, if our gemspec says `required_ruby_version = ">= 2.3.0"`, and
# ruby 2.5.0 has just been released, then we test 2.3 and 2.5, but not 2.4.
2011-07-25 16:08:44 -04:00
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
2018-02-18 17:14:19 -05:00
env:
global:
- TRAVIS=true
matrix:
- DB=mysql
- DB=postgres
- DB=sqlite
# 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
before_install:
- gem update bundler
gemfile:
- gemfiles/ar_4.2.gemfile
2017-04-27 00:21:04 -04:00
- gemfiles/ar_5.1.gemfile
2018-03-20 11:25:13 -04:00
- gemfiles/ar_5.2.gemfile
- gemfiles/ar_6.0.gemfile
matrix:
exclude:
# rails 6 will not support ruby < 2.4.1
- rvm: 2.3.8
gemfile: gemfiles/ar_6.0.gemfile
# optimization: don't test intermediate rubies (see above)
- rvm: 2.4.5
gemfile: gemfiles/ar_4.2.gemfile
- rvm: 2.4.5
gemfile: gemfiles/ar_5.1.gemfile
- rvm: 2.4.5
gemfile: gemfiles/ar_5.2.gemfile
fast_finish: true
2015-04-09 15:34:58 -04:00
addons:
postgresql: "9.4"