travis: Update OSX build

Install and use xorgproto, and build with optimization as clang has
warnings that only work above -O0. Also expand the build matrix for both
Xcode 8.3 and 9.2. Both images are OSX 10.12 at the moment so this is
really just a way to test with clang 8 vs 9.

Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2018-03-14 12:54:16 -04:00
commit 8f628033be
2 changed files with 18 additions and 1 deletions

View file

@ -8,6 +8,11 @@ matrix:
services: docker
env: DISTRO=rawhide:v3
- os: osx
osx_image: xcode9.2
env: DISTRO=xcode9.2
- os: osx
osx_image: xcode8.3
env: DISTRO=xcode8.3
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache ; fi