mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
94bf3e0398
In https://github.com/airblade/paper_trail/pull/895, Sean asked: > .. since it looks like the next version is planned to be 6.0.0, how would > you feel about dropping support for Rails 3 in that version? It has > reached end of life, meaning it no longer receives security patches. We > don't recommend that gem authors continue to support it. To which, I responded: > We could continue maintaining PT 5 if we had to, so I think it's > fine to drop support for rails 3 in PT 6. If Ben agrees, I'd be > happy to make that change. I'll just update the gemspec and drop > testing support, for starters. We can clean up the conditionals in > the code over time.
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
language: ruby
|
|
cache: bundler
|
|
rvm:
|
|
- 2.3.1
|
|
- 1.9.3
|
|
- jruby-19mode
|
|
env:
|
|
global:
|
|
- TRAVIS=true
|
|
matrix:
|
|
- DB=mysql
|
|
- DB=postgres
|
|
- DB=sqlite
|
|
|
|
sudo: false
|
|
|
|
before_script:
|
|
- mysql --version
|
|
- sh -c "if [ \"$DB\" = 'mysql' ]; then mysql -e 'create database paper_trail_test;'; fi"
|
|
- sh -c "if [ \"$DB\" = 'mysql' ]; then mysql -e 'create database paper_trail_bar; '; fi"
|
|
- sh -c "if [ \"$DB\" = 'mysql' ]; then mysql -e 'create database paper_trail_foo; '; fi"
|
|
- psql --version
|
|
- sh -c "if [ \"$DB\" = 'postgres' ]; then psql -c 'create database paper_trail_test;' -U postgres; fi"
|
|
- sh -c "if [ \"$DB\" = 'postgres' ]; then psql -c 'create database paper_trail_bar;' -U postgres; fi"
|
|
- sh -c "if [ \"$DB\" = 'postgres' ]; then psql -c 'create database paper_trail_foo;' -U postgres; fi"
|
|
|
|
gemfile:
|
|
- gemfiles/ar_4.2.gemfile
|
|
- gemfiles/ar_5.0.gemfile
|
|
- gemfiles/ar_master.gemfile
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
exclude:
|
|
- gemfile: gemfiles/ar_5.0.gemfile
|
|
rvm: 1.9.3
|
|
- gemfile: gemfiles/ar_5.0.gemfile
|
|
rvm: jruby-19mode
|
|
allow_failures:
|
|
- gemfile: gemfiles/ar_master.gemfile
|
|
|
|
addons:
|
|
postgresql: "9.4"
|