Skip to content

Commit 15a8b4b

Browse files
olleolleollesds
authored andcommitted
CI: Make an exception for ruby-2.2
1 parent e74ca8c commit 15a8b4b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ before_script:
1616
- git config --global user.name "Travis CI"
1717

1818
before_install:
19-
- gem update --system
19+
- |
20+
export RVM_CURRENT=`rvm current`
21+
if [ "${RVM_CURRENT}" != "ruby-2.2.7" ]; then
22+
gem --version
23+
else
24+
gem update --system
25+
fi
2026
- gem install bundler:'< 2'
2127

2228
script:

0 commit comments

Comments
 (0)