Skip to content

Commit 198edcd

Browse files
committed
Test with Rails 6.x
1 parent 8328ad2 commit 198edcd

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ gemfile:
1212
- gemfiles/rails_5.0.7.gemfile
1313
- gemfiles/rails_5.1.7.gemfile
1414
- gemfiles/rails_5.2.3.gemfile
15+
- gemfiles/rails_6.0.1.gemfile
1516
services:
1617
- postgresql
1718
- mysql
@@ -38,6 +39,10 @@ matrix:
3839
exclude:
3940
- rvm: ruby-head
4041
gemfile: gemfiles/rails_4.2.11.gemfile
42+
- rvm: 2.3.8
43+
gemfile: gemfiles/rails_6.0.1.gemfile
44+
- rvm: 2.4.9
45+
gemfile: gemfiles/rails_6.0.1.gemfile
4146
before_script:
4247
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
4348
- chmod +x ./cc-test-reporter

Appraisals

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ RAILS_VERSIONS = {
1616
'activerecord-oracle_enhanced-adapter' => '~> 5.2.0',
1717
'ruby-oci8' => '',
1818
},
19+
'6.0.1' => {
20+
'activerecord-oracle_enhanced-adapter' => '~> 6.0.0',
21+
'ruby-oci8' => '',
22+
},
1923
}.freeze
2024

2125
RAILS_VERSIONS.each do |version, gems|

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
It's tested against :
1313

14-
* Rails 4.2.11 / 5.0.7 / 5.1.7 / 5.2.3
15-
* Ruby 2.3.8 / 2.4.5 / 2.5.3 / 2.6.2
14+
* Rails 4.2.11 / 5.0.7 / 5.1.7 / 5.2.3 / 6.0.1
15+
* Ruby 2.3.8 / 2.4.9 / 2.5.7 / 2.6.5
1616
* Postgresql 9.6
1717
* MySQL 5.6
1818
* Oracle XE 11.2 (thanks to [travis-oracle](https://github.com/cbandy/travis-oracle))

gemfiles/rails_6.0.1.gemfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rails", "6.0.1"
6+
gem "activerecord-oracle_enhanced-adapter", "~> 6.0.0"
7+
gem "ruby-oci8" if ENV["DB_ADAPTER"] == "oracle_enhanced"
8+
9+
gemspec path: "../"

0 commit comments

Comments
 (0)