Verify Rails 5.2 support using Travis CI.

This commit is contained in:
Piers Chambers 2018-02-03 08:28:57 -05:00
parent d44575506c
commit 3cc8043f64
2 changed files with 21 additions and 0 deletions

View File

@ -9,6 +9,10 @@ rvm:
- 2.0
env:
- RAILS=5-2-stable DB=sqlite3
- RAILS=5-2-stable DB=mysql
- RAILS=5-2-stable DB=postgres
- RAILS=5-0-stable DB=sqlite3
- RAILS=5-0-stable DB=mysql
- RAILS=5-0-stable DB=postgres
@ -35,6 +39,13 @@ env:
matrix:
exclude:
- rvm: 2.1.10
env: RAILS=5-2-stable DB=sqlite3
- rvm: 2.1.10
env: RAILS=5-2-stable DB=mysql
- rvm: 2.1.10
env: RAILS=5-2-stable DB=postgres
- rvm: 2.1.10
env: RAILS=5-0-stable DB=sqlite3
- rvm: 2.1.10
@ -42,6 +53,13 @@ matrix:
- rvm: 2.1.10
env: RAILS=5-0-stable DB=postgres
- rvm: 2.0
env: RAILS=5-2-stable DB=sqlite3
- rvm: 2.0
env: RAILS=5-2-stable DB=mysql
- rvm: 2.0
env: RAILS=5-2-stable DB=postgres
- rvm: 2.0
env: RAILS=5-0-stable DB=sqlite3
- rvm: 2.0

View File

@ -38,6 +38,9 @@ else
if rails == '3-0-stable'
gem 'mysql2', '< 0.3'
end
if rails == '5-2-stable'
gem 'mysql2', '~> 0.4.4'
end
end
if ENV['DB'] =~ /mongoid4/