1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
paper-trail-gem--paper_trail/.travis.yml

44 lines
1.1 KiB
YAML
Raw Normal View History

language: ruby
cache: bundler
2011-07-25 16:08:44 -04:00
rvm:
- 2.3.1
2013-03-07 01:50:37 -05:00
- 1.9.3
- jruby-19mode
env:
global:
- TRAVIS=true
matrix:
- DB=mysql
- DB=postgres
- DB=sqlite
2014-07-18 18:29:47 -04:00
sudo: false
before_script:
2015-12-20 10:50:02 -05:00
- 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"
2015-12-20 10:50:02 -05:00
- 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
2016-01-04 22:32:39 -05:00
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
2015-04-09 15:34:58 -04:00
addons:
postgresql: "9.4"