.travis.yml in devise-security-0.13.0 vs .travis.yml in devise-security-0.14.0.rc1
- old
+ new
@@ -1,23 +1,41 @@
language: ruby
-before_install: gem install bundler && bundle -v
-install: bundle install --jobs=3 --retry=3
-before_script: bundle install
+dist: xenial
+before_install:
+ # install bundler < 2 because Rails 4.2 is incompatible with bundler >= 2
+ - gem install bundler -v '1.17.3'
+install: bundle _1.17.3_ install --jobs=2 --retry=2 --path=${BUNDLE_PATH:-vendor/bundle}
+cache: bundler
script: bundle exec rake
rvm:
- - 2.3.7
- - 2.4.4
- - 2.5.1
+ - 2.3
+ - 2.4
+ - 2.5
+ - 2.6
- ruby-head
+env:
+ matrix:
+ - DEVISE_ORM=active_record
+ - DEVISE_ORM=mongoid
+services:
+ - mongodb
matrix:
- allow_failures:
+ exclude:
+ # Skip these combinations because they have incompatible dependencies
+ # and will always fail.
+ - rvm: 2.6
+ gemfile: gemfiles/rails_4.2_stable.gemfile
- rvm: ruby-head
- - gemfile: gemfiles/rails_5.2_rc1.gemfile
- - rvm: 2.4.4
gemfile: gemfiles/rails_4.2_stable.gemfile
- - rvm: 2.5.1
- gemfile: gemfiles/rails_4.2_stable.gemfile
+ - rvm: 2.3
+ gemfile: gemfiles/rails_6.0_beta.gemfile
+ - rvm: 2.4
+ gemfile: gemfiles/rails_6.0_beta.gemfile
+ allow_failures:
+ - rvm: ruby-head
+ - gemfile: gemfiles/rails_6.0_beta.gemfile
gemfile:
- gemfiles/rails_4.2_stable.gemfile
- gemfiles/rails_5.0_stable.gemfile
- gemfiles/rails_5.1_stable.gemfile
- - gemfiles/rails_5.2.0.gemfile
+ - gemfiles/rails_5.2_stable.gemfile
+ - gemfiles/rails_6.0_beta.gemfile