mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Fix travis build
Now Travis uses bundler 2.0+ and it causes some build fails since we still support Rails 4. This commit set Travis to not use a bundler version higher than 2.0. More info: https://docs.travis-ci.com/user/languages/ruby/#bundler-20
This commit is contained in:
parent
518f6f39bf
commit
6b1ead8654
1 changed files with 4 additions and 1 deletions
|
@ -51,7 +51,10 @@ env:
|
|||
- DEVISE_ORM=active_record
|
||||
- DEVISE_ORM=mongoid
|
||||
|
||||
before_install: "rm ${BUNDLE_GEMFILE}.lock"
|
||||
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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue