From 3cc8043f641d64e5a9ea14ca95240a9cc6c55fa0 Mon Sep 17 00:00:00 2001 From: Piers Chambers Date: Sat, 3 Feb 2018 08:28:57 -0500 Subject: [PATCH] Verify Rails 5.2 support using Travis CI. --- .travis.yml | 18 ++++++++++++++++++ Gemfile | 3 +++ 2 files changed, 21 insertions(+) diff --git a/.travis.yml b/.travis.yml index 94e2bf4..1b216a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Gemfile b/Gemfile index cafb662..74094b1 100644 --- a/Gemfile +++ b/Gemfile @@ -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/