Skip to content

Commit f1318a6

Browse files
committed
support ruby < 2.3 and rails < 5.x
1 parent 8afd262 commit f1318a6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ bundler_args: --binstubs --jobs=3 --retry=3
33
cache: bundler
44
sudo: false
55
before_install:
6-
- gem update --system
7-
- gem install bundler
6+
- gem i rubygems-update -v '<3' && update_rubygems
7+
# from travis docs, to use bundler 1.x:
8+
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
9+
- gem install bundler -v '< 2'
810
before_script:
911
- "bin/ci-code-review"
1012
script: bin/ci

0 commit comments

Comments
 (0)