Skip to content

Commit

Permalink
Lock bundler only for 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dlackty committed Aug 17, 2020
1 parent 9ed64b9 commit 703768b
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
language: ruby

before_install:
# Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
- gem update --system '2.7.8' --no-document
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2' --no-document

rvm:
- 2.4
- 2.5
- 2.6
- 2.7

env:
- RAILS_VERSION=4.2
Expand All @@ -20,16 +13,19 @@ env:
- RAILS_VERSION=6.0

matrix:
include:
- rvm: 2.4
before_install:
# Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
- gem update --system '2.7.8' --no-document
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2' --no-document
exclude:
- rvm: 2.4
env: RAILS_VERSION=6.0
- rvm: 2.6
env: RAILS_VERSION=4.2
- rvm: 2.6
env: RAILS_VERSION=5.0
- rvm: 2.7
env: RAILS_VERSION=4.2
- rvm: 2.7
env: RAILS_VERSION=5.0

sudo: false

0 comments on commit 703768b

Please sign in to comment.