sudo: required
dist: trusty
+# Use OS X 10.11 with XCode 7.2
+# https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
+osx_image: xcode7.2
+
env:
# Each line is a set of environment variables set before a build.
# Thus each line represents a different build configuration.
- ninja-build
before_install:
- # Install ninja on Mac OS X.
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install ninja; fi
+ # Install cmake & ninja on Mac OS X.
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install cmake ninja; fi
before_script:
- git clone https://github.com/KhronosGroup/SPIRV-Headers.git external/spirv-headers