From 746913e2a645f10af6f3fde7b58449cfd40f8130 Mon Sep 17 00:00:00 2001 From: Andy Brody Date: Wed, 21 Aug 2019 17:11:56 -0400 Subject: [PATCH] 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. --- .travis.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index cb5b003..64faf51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ sudo: false os: - linux - - osx +# - osx rvm: - "2.1" # latest 2.1.x @@ -37,12 +37,23 @@ before_install: # stick to bundler 1.x in order to support ruby < 2.3 - gem install bundler -v '~> 1.17' -# Travis OS X support is pretty janky. These are some hacks to include tests -# only on versions that actually work. -# (last tested: 2016-11) +# Travis macOS support is pretty janky. These are some hacks to include tests +# only on versions that actually work. We test on macOS because Apple monkey +# 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: # 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: - rvm: 'ruby-head'