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
This commit is contained in:
orbea 2019-06-07 10:57:19 -07:00
parent 53c91d6e56
commit e794c8d287

View File

@ -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: