Skip to content

Commit 0c31b41

Browse files
committed
Fix up bundler version issue
1 parent c6b5c79 commit 0c31b41

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.travis.yml

+13-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
language: ruby
22

3-
before_install:
4-
# Workaround for https://github.com/travis-ci/travis-ci/issues/8969
5-
- gem update --system
6-
73
rvm:
84
- 2.4
95
- 2.5
@@ -18,14 +14,23 @@ env:
1814
- RAILS_VERSION=6.0
1915

2016
matrix:
17+
include:
18+
- rvm: 2.4
19+
before_install:
20+
# Source: <https://docs.travis-ci.com/user/languages/ruby/#bundler-20>
21+
- gem update --system '2.7.8' --no-document
22+
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
23+
- gem install bundler -v '< 2' --no-document
2124
exclude:
22-
- rvm: 2.5
23-
env: RAILS_VERSION=4.2
24-
- rvm: 2.5
25-
env: RAILS_VERSION=5.0
25+
- rvm: 2.4
26+
env: RAILS_VERSION=6.0
2627
- rvm: 2.6
2728
env: RAILS_VERSION=4.2
2829
- rvm: 2.6
2930
env: RAILS_VERSION=5.0
31+
- rvm: 2.7
32+
env: RAILS_VERSION=4.2
33+
- rvm: 2.7
34+
env: RAILS_VERSION=5.0
3035

3136
sudo: false

0 commit comments

Comments
 (0)