1 # Linux Build Configuration for Travis
9 # Use Ubuntu 14.04 LTS (Trusty) as the Linux testing environment.
13 # Use OS X 10.11 with XCode 7.2
14 # https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
18 # Each line is a set of environment variables set before a build.
19 # Thus each line represents a different build configuration.
29 # Skip GCC builds on Mac OS X.
46 # Install cmake & ninja on Mac OS X.
47 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install cmake ninja; fi
50 - git clone https://github.com/KhronosGroup/SPIRV-Headers.git external/spirv-headers
51 - git clone https://github.com/google/googletest.git external/googletest
54 - mkdir build && cd build
55 - cmake -GNinja -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ..
57 - ctest -j`nproc` --output_on_failure
63 - antiagainst@google.com
64 - awoloszyn@google.com