Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 895f45b

Browse files
committed
Older macOS on Travis are not able to install Ruby 2.4.0
1 parent 89ccbbd commit 895f45b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ matrix:
1212
- rvm: 2.4.0
1313
os: osx
1414
osx_image: xcode7.3
15-
- rvm: 2.4.0
15+
- rvm: 2.0.0
1616
os: osx
1717
osx_image: xcode6.4
1818
- rvm: 2.4.0
@@ -45,7 +45,8 @@ addons:
4545
bundler_args: --jobs=4 --retry=3
4646
before_install:
4747
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then gem update bundler; fi
48-
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then gem update --system; fi
48+
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then gem update --system; f
49+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" == "2.0.0" ]; then rvm rubygems current; fi
4950
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" == "system" ]; then sudo gem install bundler; fi
5051
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" != "system" ]; then gem update --system; fi
5152
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" != "system" ]; then gem update bundler; fi

0 commit comments

Comments
 (0)