Skip to content

Commit d41123a

Browse files
committed
Update travis testing matrix
1 parent db7c864 commit d41123a

File tree

4 files changed

+37
-18
lines changed

4 files changed

+37
-18
lines changed

.travis.yml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,33 @@
11
language: ruby
2+
23
rvm:
3-
- 2.2.5
4-
- 2.3.1
5-
- 2.4.1
4+
- 2.4.10
5+
- 2.5.9
6+
- 2.7.4
7+
- 3.0.0
8+
69
env:
710
- RAILS_VERSION=4.2
8-
- RAILS_VERSION=5.0
11+
- RAILS_VERSION=5.2
12+
- RAILS_VERSION=6.0
13+
- RAILS_VERSION=6.1
14+
15+
jobs:
16+
exclude:
17+
- rvm: 2.5.9
18+
env: RAILS_VERSION=4.2
19+
- rvm: 2.7.4
20+
env: RAILS_VERSION=4.2
21+
- rvm: 3.0.0
22+
env: RAILS_VERSION=4.2
23+
- rvm: 3.0.0
24+
env: RAILS_VERSION=5.2
25+
- rvm: 3.0.0
26+
env: RAILS_VERSION=6.0
27+
- rvm: 2.4.10
28+
env: RAILS_VERSION=6.0
29+
- rvm: 2.4.10
30+
env: RAILS_VERSION=6.1
931

1032
before_install:
1133
- gem install bundler -v 1.15

Gemfile

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@ source 'https://rubygems.org'
33
# Specify your gem's dependencies in devise-async.gemspec
44
gemspec
55

6-
case version = ENV['RAILS_VERSION'] || "~> 5.0"
7-
when /5/
8-
gem "activerecord", "~> 5.0"
9-
gem "actionpack", "~> 5.0"
10-
gem "actionmailer", "~> 5.0"
11-
when /4.2/
12-
gem "activerecord", "~> 4.2"
13-
gem "actionpack", "~> 4.2"
14-
gem "actionmailer", "~> 4.2"
6+
version = ENV['RAILS_VERSION'] || "~> 6.1"
7+
8+
gem "activerecord", version
9+
gem "actionpack", version
10+
gem "actionmailer", version
11+
12+
if version =~ /^4/
13+
gem 'sqlite3', '~> 1.3'
1514
else
16-
gem "activerecord", version
17-
gem "actionpack", version
18-
gem "actionmailer", version
15+
gem 'sqlite3'
1916
end

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Devise Async
22

3-
[![Tag](https://img.shields.io/github/tag/mhfs/devise-async.svg?style=flat-square)](https://github.com/mhfs/devise-async/releases) [![Build Status](https://img.shields.io/travis/mhfs/devise-async.svg?style=flat-square)](https://travis-ci.org/mhfs/devise-async) [![Code Climate](https://img.shields.io/codeclimate/github/mhfs/devise-async.svg?style=flat-square)](https://codeclimate.com/github/mhfs/devise-async)
3+
[![Build Status](https://app.travis-ci.com/joe1chen/devise-async.svg?branch=master)](https://app.travis-ci.com/github/joe1chen/devise-async)
44

55
Devise Async provides an easy way to configure Devise to send its emails asynchronously using ActiveJob.
66

devise-async.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ Gem::Specification.new do |gem|
2323

2424
gem.add_development_dependency 'rspec', '~> 3.6'
2525
gem.add_development_dependency 'rspec-rails', '~> 3.6'
26-
gem.add_development_dependency 'sqlite3', '~> 1.3'
26+
gem.add_development_dependency 'sqlite3'
2727
gem.add_development_dependency 'pry'
2828
end

0 commit comments

Comments
 (0)