mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
f92037c048
* Drop support for ruby 2.3 * Docs: appraisal * Drop support for rails <= 5.1 * Upgrade rubocop to 0.80 * Remove defunct code for EoL rails versions * Rails 5+ style controller test params keyword * Squash me Co-Authored-By: Todd Lynam <TLynam@gmail.com> Co-authored-by: Todd Lynam <TLynam@gmail.com>
40 lines
791 B
YAML
40 lines
791 B
YAML
language: ruby
|
|
cache: bundler
|
|
|
|
# For ruby, we test the highest and lowest minor versions only.
|
|
rvm:
|
|
- 2.4
|
|
- 2.7
|
|
|
|
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_5.2.gemfile
|
|
- gemfiles/ar_6.0.gemfile
|
|
matrix:
|
|
exclude:
|
|
# rails 6 requires ruby >= 2.5.0
|
|
- rvm: 2.4
|
|
gemfile: gemfiles/ar_6.0.gemfile
|
|
fast_finish: true
|
|
services:
|
|
- mysql
|
|
- postgresql
|