2012-11-27 15:59:21 -05:00
|
|
|
language: ruby
|
2016-08-09 00:09:15 -04:00
|
|
|
cache: bundler
|
2011-07-25 16:08:44 -04:00
|
|
|
rvm:
|
2016-08-09 00:09:15 -04:00
|
|
|
- 2.3.1
|
2016-12-30 11:47:50 -05:00
|
|
|
- 2.1.10
|
2014-03-14 16:11:10 -04:00
|
|
|
env:
|
2015-03-25 19:41:10 -04:00
|
|
|
global:
|
|
|
|
- TRAVIS=true
|
|
|
|
matrix:
|
|
|
|
- DB=mysql
|
|
|
|
- DB=postgres
|
|
|
|
- DB=sqlite
|
2013-08-01 14:59:58 -04:00
|
|
|
|
2014-07-18 18:29:47 -04:00
|
|
|
sudo: false
|
|
|
|
|
2014-03-14 16:11:10 -04:00
|
|
|
before_script:
|
2015-12-20 10:50:02 -05:00
|
|
|
- mysql --version
|
2014-03-14 16:11:10 -04:00
|
|
|
- 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"
|
2015-12-20 10:50:02 -05:00
|
|
|
- psql --version
|
2014-03-14 16:11:10 -04:00
|
|
|
- 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"
|
2014-01-07 16:30:23 -05:00
|
|
|
|
2013-08-01 14:59:58 -04:00
|
|
|
gemfile:
|
2017-03-07 13:34:42 -05:00
|
|
|
- gemfiles/ar_4.0.gemfile
|
2016-11-30 12:03:22 -05:00
|
|
|
- gemfiles/ar_4.2.gemfile
|
|
|
|
- gemfiles/ar_5.0.gemfile
|
2016-11-30 10:46:31 -05:00
|
|
|
- gemfiles/ar_master.gemfile
|
2013-08-01 14:59:58 -04:00
|
|
|
|
2013-03-08 11:12:23 -05:00
|
|
|
matrix:
|
2014-03-07 16:26:41 -05:00
|
|
|
fast_finish: true
|
2016-01-04 22:32:39 -05:00
|
|
|
exclude:
|
2016-11-30 12:03:22 -05:00
|
|
|
- gemfile: gemfiles/ar_5.0.gemfile
|
2016-12-30 11:47:50 -05:00
|
|
|
rvm: 2.1.10
|
2016-11-30 10:46:31 -05:00
|
|
|
allow_failures:
|
|
|
|
- gemfile: gemfiles/ar_master.gemfile
|
2015-04-09 15:34:58 -04:00
|
|
|
|
|
|
|
addons:
|
|
|
|
postgresql: "9.4"
|