Travis-ci updates

- Add test for Rails master with MongoDB (allowing failure).

- Test Rails 3.1/3.2 with Ruby 2.2 (allowing failure), but not 2.2.3.
This commit is contained in:
Jon Atack 2015-08-21 12:33:12 +02:00
parent 9a22ae4506
commit 958795fdc1
1 changed files with 41 additions and 6 deletions

View File

@ -35,23 +35,30 @@ env:
matrix:
include:
- rvm: 2.2.3
env: RAILS=master DB=mongodb
- rvm: 2.2.3
env: RAILS=master DB=sqlite3
- rvm: 2.2.3
env: RAILS=master DB=mysql
- rvm: 2.2.3
env: RAILS=master DB=postgres
exclude:
- rvm: 2.2
env: RAILS=3-1-stable DB=sqlite
env: RAILS=3-2-stable DB=sqlite3
- rvm: 2.2
env: RAILS=3-2-stable DB=mysql
- rvm: 2.2
env: RAILS=3-2-stable DB=postgres
- rvm: 2.2
env: RAILS=3-1-stable DB=sqlite3
- rvm: 2.2
env: RAILS=3-1-stable DB=mysql
- rvm: 2.2
env: RAILS=3-1-stable DB=postgres
allow_failures:
- env: RAILS=master DB=sqlite3
- env: RAILS=master DB=mysql
- env: RAILS=master DB=postgres
exclude:
- rvm: 2.2.3
env: RAILS=3-2-stable DB=sqlite
- rvm: 2.2.3
@ -59,6 +66,34 @@ matrix:
- rvm: 2.2.3
env: RAILS=3-2-stable DB=postgres
- rvm: 2.2.3
env: RAILS=3-1-stable DB=sqlite
- rvm: 2.2.3
env: RAILS=3-1-stable DB=mysql
- rvm: 2.2.3
env: RAILS=3-1-stable DB=postgres
allow_failures:
- env: RAILS=master DB=mongodb
- env: RAILS=master DB=sqlite3
- env: RAILS=master DB=mysql
- env: RAILS=master DB=postgres
- rvm: 2.2
env: RAILS=3-2-stable DB=sqlite
- rvm: 2.2
env: RAILS=3-2-stable DB=mysql
- rvm: 2.2
env: RAILS=3-2-stable DB=postgres
- rvm: 2.2
env: RAILS=3-1-stable DB=sqlite
- rvm: 2.2
env: RAILS=3-1-stable DB=mysql
- rvm: 2.2
env: RAILS=3-1-stable DB=postgres
before_script:
- mysql -e 'create database ransack collate utf8_general_ci;'
- mysql -e 'use ransack;show variables like "%character%";show variables like "%collation%";'