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
|
2013-03-07 01:50:37 -05:00
|
|
|
- 1.9.3
|
2013-03-26 10:54:33 -04:00
|
|
|
- jruby-19mode
|
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:
|
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-01-04 23:53:52 -05:00
|
|
|
rvm: 1.9.3
|
2016-11-30 12:03:22 -05:00
|
|
|
- gemfile: gemfiles/ar_5.0.gemfile
|
2016-01-04 23:53:52 -05:00
|
|
|
rvm: jruby-19mode
|
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"
|