Skip to content

Commit 703768b

Browse files
committed
Lock bundler only for 2.4
1 parent 9ed64b9 commit 703768b

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.travis.yml

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
language: ruby
22

3-
before_install:
4-
# Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
5-
- gem update --system '2.7.8' --no-document
6-
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
7-
- gem install bundler -v '< 2' --no-document
8-
93
rvm:
104
- 2.4
115
- 2.5
126
- 2.6
13-
- 2.7
147

158
env:
169
- RAILS_VERSION=4.2
@@ -20,16 +13,19 @@ env:
2013
- RAILS_VERSION=6.0
2114

2215
matrix:
16+
include:
17+
- rvm: 2.4
18+
before_install:
19+
# Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
20+
- gem update --system '2.7.8' --no-document
21+
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
22+
- gem install bundler -v '< 2' --no-document
2323
exclude:
2424
- rvm: 2.4
2525
env: RAILS_VERSION=6.0
2626
- rvm: 2.6
2727
env: RAILS_VERSION=4.2
2828
- rvm: 2.6
2929
env: RAILS_VERSION=5.0
30-
- rvm: 2.7
31-
env: RAILS_VERSION=4.2
32-
- rvm: 2.7
33-
env: RAILS_VERSION=5.0
3430

3531
sudo: false

0 commit comments

Comments
 (0)