Skip to content

Commit 746913e

Browse files
committed
Only test a few versions on macOS.
Travis macOS tests are extremely slow, so we want to cut these out of the loop to the extent possible.
1 parent 1c264c0 commit 746913e

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.travis.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sudo: false
55

66
os:
77
- linux
8-
- osx
8+
# - osx
99

1010
rvm:
1111
- "2.1" # latest 2.1.x
@@ -37,12 +37,23 @@ before_install:
3737
# stick to bundler 1.x in order to support ruby < 2.3
3838
- gem install bundler -v '~> 1.17'
3939

40-
# Travis OS X support is pretty janky. These are some hacks to include tests
41-
# only on versions that actually work.
42-
# (last tested: 2016-11)
40+
# Travis macOS support is pretty janky. These are some hacks to include tests
41+
# only on versions that actually work. We test on macOS because Apple monkey
42+
# patches OpenSSL to have different behavior, and we want to ensure that SSL
43+
# verification at least is broken in the expected ways on macOS.
44+
# (last tested: 2019-08)
4345
matrix:
4446
# exclude: {}
45-
# include: {}
47+
include:
48+
# test only a few versions on mac
49+
- os: osx
50+
rvm: 2.6.3
51+
- os: osx
52+
rvm: ruby-head
53+
- os: osx
54+
rvm: jruby-9.1.9.0
55+
- os: osx
56+
rvm: jruby-head
4657

4758
allow_failures:
4859
- rvm: 'ruby-head'

0 commit comments

Comments
 (0)