Skip to content

Commit

Permalink
Only test a few versions on macOS.
Browse files Browse the repository at this point in the history
Travis macOS tests are extremely slow, so we want to cut these out of
the loop to the extent possible.
  • Loading branch information
ab committed Aug 21, 2019
1 parent 1c264c0 commit 746913e
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sudo: false

os:
- linux
- osx
# - osx

rvm:
- "2.1" # latest 2.1.x
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 746913e

Please sign in to comment.