mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
7cbb6fe5f1
There are obviously people still using it, unfortunately. They should update immediately, as AR < 4.2 is EOL, and PT will drop support very soon.
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
language: ruby
|
|
cache: bundler
|
|
rvm:
|
|
- 2.3.1
|
|
- 2.1.10
|
|
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.0.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: 2.1.10
|
|
allow_failures:
|
|
- gemfile: gemfiles/ar_master.gemfile
|
|
|
|
addons:
|
|
postgresql: "9.4"
|