From e794c8d28780caff0058d3909902be897851b89a Mon Sep 17 00:00:00 2001 From: orbea <orbea@riseup.net> Date: Fri, 7 Jun 2019 10:57:19 -0700 Subject: [PATCH] travis: Test darwin builds with qb. There is a Darwin code path in the qb configure scripts and as far as I can tell it has not been tested heavily in a long time. This will expose this code path for travis builds with only clang which will make it easier to test qb changes without breaking Darwin support. I am surprised that this hasn't already happened... Some things to note are. * It appears gcc is really clang on macOS. * Both C89_BUILD and CXX_BUILD were ommitted because they are broken in ways I can not fix. In the event any interested parties wish to fix these issues they can be easily added. * This will use the default macOS version available with travis which is currently 10.13. Other version(s) can be specified if desired, I am not sure which versions are best to test. See the following link for more details. https://docs.travis-ci.com/user/reference/osx#macos-version --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 631cd3edea..8bc50d4975 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,8 @@ matrix: env: C89_BUILD=1 CC=clang-6.0 CXX=clang++-6.0 - compiler: clang env: CXX_BUILD=1 CC=clang-6.0 CXX=clang++-6.0 + - os: osx + env: CC=clang CXX=clang++ - os: osx osx_image: xcode8 script: