mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
98fc5e8e39
* Make test for validation to be Rails 6.1 compatible The `ActiveModel::Errors` has been changed in Rails 6.1. https://github.com/rails/rails/pull/32313 * Add gemfile for Rails 6.1 * Add CI matrix for Rails 6.1
121 lines
3.2 KiB
YAML
121 lines
3.2 KiB
YAML
language: ruby
|
|
|
|
rvm:
|
|
- 2.1.10
|
|
- 2.2.10
|
|
- 2.3.8
|
|
- 2.4.10
|
|
- 2.5.8
|
|
- 2.6.6
|
|
- 2.7.1
|
|
- ruby-head
|
|
|
|
gemfile:
|
|
- Gemfile
|
|
- gemfiles/Gemfile.rails-6.1-stable
|
|
- gemfiles/Gemfile.rails-6.0-stable
|
|
- gemfiles/Gemfile.rails-5.2-stable
|
|
- gemfiles/Gemfile.rails-5.1-stable
|
|
- gemfiles/Gemfile.rails-5.0-stable
|
|
- gemfiles/Gemfile.rails-4.2-stable
|
|
- gemfiles/Gemfile.rails-4.1-stable
|
|
|
|
matrix:
|
|
exclude:
|
|
- rvm: 2.1.10
|
|
gemfile: Gemfile
|
|
- rvm: 2.1.10
|
|
gemfile: gemfiles/Gemfile.rails-6.1-stable
|
|
- rvm: 2.1.10
|
|
gemfile: gemfiles/Gemfile.rails-6.0-stable
|
|
- rvm: 2.1.10
|
|
gemfile: gemfiles/Gemfile.rails-5.2-stable
|
|
- rvm: 2.1.10
|
|
gemfile: gemfiles/Gemfile.rails-5.1-stable
|
|
- rvm: 2.1.10
|
|
gemfile: gemfiles/Gemfile.rails-5.0-stable
|
|
- rvm: 2.2.10
|
|
gemfile: Gemfile
|
|
- rvm: 2.2.10
|
|
gemfile: gemfiles/Gemfile.rails-6.1-stable
|
|
- rvm: 2.2.10
|
|
gemfile: gemfiles/Gemfile.rails-6.0-stable
|
|
- rvm: 2.2.10
|
|
gemfile: gemfiles/Gemfile.rails-5.2-stable
|
|
- rvm: 2.3.8
|
|
gemfile: Gemfile
|
|
- rvm: 2.3.8
|
|
gemfile: gemfiles/Gemfile.rails-6.1-stable
|
|
- rvm: 2.3.8
|
|
gemfile: gemfiles/Gemfile.rails-6.0-stable
|
|
- rvm: 2.4.10
|
|
gemfile: Gemfile
|
|
- rvm: 2.4.10
|
|
gemfile: gemfiles/Gemfile.rails-6.1-stable
|
|
- rvm: 2.4.10
|
|
gemfile: gemfiles/Gemfile.rails-6.0-stable
|
|
- rvm: 2.4.10
|
|
gemfile: gemfiles/Gemfile.rails-4.1-stable
|
|
- rvm: 2.5.8
|
|
gemfile: gemfiles/Gemfile.rails-4.1-stable
|
|
- rvm: 2.6.6
|
|
gemfile: gemfiles/Gemfile.rails-4.1-stable
|
|
- rvm: 2.6.6
|
|
gemfile: gemfiles/Gemfile.rails-4.2-stable
|
|
- rvm: 2.7.1
|
|
gemfile: gemfiles/Gemfile.rails-4.1-stable
|
|
- rvm: 2.7.1
|
|
gemfile: gemfiles/Gemfile.rails-4.1-stable
|
|
- rvm: 2.7.1
|
|
gemfile: gemfiles/Gemfile.rails-4.2-stable
|
|
- rvm: 2.7.1
|
|
gemfile: gemfiles/Gemfile.rails-5.0-stable
|
|
- rvm: 2.7.1
|
|
gemfile: gemfiles/Gemfile.rails-5.1-stable
|
|
- rvm: 2.7.1
|
|
gemfile: gemfiles/Gemfile.rails-5.2-stable
|
|
- rvm: ruby-head
|
|
gemfile: gemfiles/Gemfile.rails-4.1-stable
|
|
- rvm: ruby-head
|
|
gemfile: gemfiles/Gemfile.rails-4.2-stable
|
|
- env: DEVISE_ORM=mongoid
|
|
gemfile: Gemfile
|
|
- env: DEVISE_ORM=mongoid
|
|
gemfile: gemfiles/Gemfile.rails-5.0-stable
|
|
- env: DEVISE_ORM=mongoid
|
|
gemfile: gemfiles/Gemfile.rails-5.1-stable
|
|
- env: DEVISE_ORM=mongoid
|
|
gemfile: gemfiles/Gemfile.rails-5.2-stable
|
|
- env: DEVISE_ORM=mongoid
|
|
gemfile: gemfiles/Gemfile.rails-6.0-stable
|
|
- env: DEVISE_ORM=mongoid
|
|
gemfile: gemfiles/Gemfile.rails-6.1-stable
|
|
allow_failures:
|
|
- rvm: ruby-head
|
|
|
|
services:
|
|
- mongodb
|
|
|
|
cache: bundler
|
|
|
|
env:
|
|
matrix:
|
|
- DEVISE_ORM=active_record
|
|
- DEVISE_ORM=mongoid
|
|
|
|
before_install:
|
|
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
|
- gem install bundler -v '< 2'
|
|
- "rm ${BUNDLE_GEMFILE}.lock"
|
|
|
|
before_script: "bundle update"
|
|
|
|
script: "bin/test"
|
|
|
|
notifications:
|
|
email: false
|
|
slack:
|
|
on_pull_requests: false
|
|
on_success: change
|
|
on_failure: always
|
|
secure: Q3M+kmude3FjisibEeeGe0wSMXgvwLH+vL7Zrx9//q4QtkfnrQ/BBMvY9KXxPEsNF+eys4YopYjTkJ8uRmeboUATW/oQ4Jrv3+u3zkIHK2sFn/Q2cQWpK5w+CbgEnHPjKYnUu34b09njXTgDlr/mqtbPqrKeZ1dLlpKXCB/q4GY=
|