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

Commit 9bea2c1

Browse files
committed
Add macOS Sierra to the Travis build and bump Ruby versions
1 parent 0c2e41b commit 9bea2c1

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

.travis.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: ruby
22
rvm:
3-
- 2.3.1
3+
- 2.3.2
44
- 2.2
55
- 2.1
66
- rbx
@@ -12,21 +12,27 @@ matrix:
1212
- rvm: 2.2
1313
os: osx
1414
osx_image: xcode7.3
15-
- rvm: 2.2
16-
os: osx
17-
osx_image: xcode6.4
1815
- rvm: system
1916
os: osx
2017
osx_image: xcode7.3
2118
- rvm: system
2219
os: osx
2320
osx_image: xcode8.2
24-
- rvm: ruby-2.3.1-clang
21+
- rvm: 2.3.2
22+
os: osx
23+
osx_image: xcode6.4
24+
- rvm: system
25+
os: osx
26+
osx_image: xcode6.4
27+
- rvm: ruby-2.3.2-clang
2528
env: CXX=clang++
2629
- rvm: 1.9.3
2730
allow_failures:
2831
- rvm: 1.9.3
2932
- rvm: rbx
33+
- rvm: 2.3.2
34+
os: osx
35+
osx_image: xcode6.4
3036
fast_finish: true
3137
dist: trusty
3238
addons:
@@ -36,7 +42,10 @@ addons:
3642
bundler_args: --jobs=4 --retry=3
3743
before_install:
3844
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then gem update bundler; fi
39-
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then sudo gem install bundler; fi
45+
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then gem update --system; fi
46+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" == "system" ]; then sudo gem install bundler; fi
47+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" != "system" ]; then gem update --system; fi
48+
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" != "system" ]; then gem update bundler; fi
4049
script:
4150
- git submodule update --init
4251
- MAKEFLAGS+=-j8 bundle exec rake spec binary --trace

0 commit comments

Comments
 (0)