language: sh
os:
  - linux
  - osx
  - windows

before_script:
  - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PATH=$PATH:/c/Program\ Files/CMake/bin; fi

script:
  - git clone https://github.com/KhronosGroup/Vulkan-Docs
  - export VULKAN_SDK=./Vulkan-Docs
  - cmake .
  - cmake --build . # check Vulkan 1.1 build
  - git -C Vulkan-Docs checkout ab08f0951ef1ad9b84db93f971e113c1d9d55609 # last 1.0 rev
  - mv Vulkan-Docs/src Vulkan-Docs/include # CMakeLists.txt assume /include location for headers...
  - cmake --build . # check Vulkan 1.0 build

language: cpp
os:
  - linux
  - osx
  - windows

script:
  - git clone https://github.com/KhronosGroup/Vulkan-Docs
  - export VULKAN_SDK=./Vulkan-Docs
  - cmake .
  - cmake --build . # check Vulkan 1.1 build
  - git -C Vulkan-Docs checkout ab08f0951ef1ad9b84db93f971e113c1d9d55609 # last 1.0 rev
  - mv Vulkan-Docs/src Vulkan-Docs/include # CMakeLists.txt assume /include location for headers...
  - cmake --build . # check Vulkan 1.0 build

Refactor Travis CI build script
Refactor Travis CI build script

We now can use language: cpp and don't need to hunt cmake down since
Travis CI fixed their configs.
