Fix OSX Travis.

This commit is contained in:
Hans-Kristian Arntzen 2018-03-02 09:29:37 +01:00
parent 94cd77799f
commit c9516fa917

View File

@ -2,7 +2,7 @@ language: cpp
os:
- linux
- osx
osx_image: xcode8.2
osx_image: xcode8.3
# Use Ubuntu 14.04 LTS (Trusty) as the Linux testing environment.
sudo: required
@ -13,7 +13,7 @@ env:
- GLSLANG_REV=9c6f8cc29ba303b43ccf36deea6bb38a304f9b92 SPIRV_TOOLS_REV=e28edd458b729da7bbfd51e375feb33103709e6f
before_script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install python3; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python3; fi
- git clone https://github.com/KhronosGroup/glslang.git glslang
- git clone https://github.com/KhronosGroup/SPIRV-Tools SPIRV-Tools
- git clone https://github.com/KhronosGroup/SPIRV-Headers.git SPIRV-Tools/external/spirv-headers