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.
This commit is contained in:
Andy Brody 2019-08-21 17:11:56 -04:00
parent 1c264c0974
commit 746913e2a6
1 changed files with 16 additions and 5 deletions

View File

@ -5,7 +5,7 @@ sudo: false
os: os:
- linux - linux
- osx # - osx
rvm: rvm:
- "2.1" # latest 2.1.x - "2.1" # latest 2.1.x
@ -37,12 +37,23 @@ before_install:
# stick to bundler 1.x in order to support ruby < 2.3 # stick to bundler 1.x in order to support ruby < 2.3
- gem install bundler -v '~> 1.17' - gem install bundler -v '~> 1.17'
# Travis OS X support is pretty janky. These are some hacks to include tests # Travis macOS support is pretty janky. These are some hacks to include tests
# only on versions that actually work. # only on versions that actually work. We test on macOS because Apple monkey
# (last tested: 2016-11) # patches OpenSSL to have different behavior, and we want to ensure that SSL
# verification at least is broken in the expected ways on macOS.
# (last tested: 2019-08)
matrix: matrix:
# exclude: {} # exclude: {}
# include: {} include:
# test only a few versions on mac
- os: osx
rvm: 2.6.3
- os: osx
rvm: ruby-head
- os: osx
rvm: jruby-9.1.9.0
- os: osx
rvm: jruby-head
allow_failures: allow_failures:
- rvm: 'ruby-head' - rvm: 'ruby-head'