Skip to content

Commit

Permalink
Update travis testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdogo committed Sep 20, 2021
1 parent db7c864 commit d41123a
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 18 deletions.
30 changes: 26 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,33 @@
language: ruby

rvm:
- 2.2.5
- 2.3.1
- 2.4.1
- 2.4.10
- 2.5.9
- 2.7.4
- 3.0.0

env:
- RAILS_VERSION=4.2
- RAILS_VERSION=5.0
- RAILS_VERSION=5.2
- RAILS_VERSION=6.0
- RAILS_VERSION=6.1

jobs:
exclude:
- rvm: 2.5.9
env: RAILS_VERSION=4.2
- rvm: 2.7.4
env: RAILS_VERSION=4.2
- rvm: 3.0.0
env: RAILS_VERSION=4.2
- rvm: 3.0.0
env: RAILS_VERSION=5.2
- rvm: 3.0.0
env: RAILS_VERSION=6.0
- rvm: 2.4.10
env: RAILS_VERSION=6.0
- rvm: 2.4.10
env: RAILS_VERSION=6.1

before_install:
- gem install bundler -v 1.15
Expand Down
21 changes: 9 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in devise-async.gemspec
gemspec

case version = ENV['RAILS_VERSION'] || "~> 5.0"
when /5/
gem "activerecord", "~> 5.0"
gem "actionpack", "~> 5.0"
gem "actionmailer", "~> 5.0"
when /4.2/
gem "activerecord", "~> 4.2"
gem "actionpack", "~> 4.2"
gem "actionmailer", "~> 4.2"
version = ENV['RAILS_VERSION'] || "~> 6.1"

gem "activerecord", version
gem "actionpack", version
gem "actionmailer", version

if version =~ /^4/
gem 'sqlite3', '~> 1.3'
else
gem "activerecord", version
gem "actionpack", version
gem "actionmailer", version
gem 'sqlite3'
end
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Devise Async

[![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)
[![Build Status](https://app.travis-ci.com/joe1chen/devise-async.svg?branch=master)](https://app.travis-ci.com/github/joe1chen/devise-async)

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

Expand Down
2 changes: 1 addition & 1 deletion devise-async.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ Gem::Specification.new do |gem|

gem.add_development_dependency 'rspec', '~> 3.6'
gem.add_development_dependency 'rspec-rails', '~> 3.6'
gem.add_development_dependency 'sqlite3', '~> 1.3'
gem.add_development_dependency 'sqlite3'
gem.add_development_dependency 'pry'
end

0 comments on commit d41123a

Please sign in to comment.