tests: Use specific version of gtest for CI
authorTony-LunarG <tony@lunarg.com>
Wed, 3 Oct 2018 23:54:41 +0000 (17:54 -0600)
committerTony Barbour <tony@lunarg.com>
Wed, 10 Oct 2018 18:03:34 +0000 (12:03 -0600)
.appveyor.yml
.travis.yml
BUILD.md

index 3f92bd67e42427c15324671e559898ce60271e1d..086c2a1b23ae80292963015d8541fea288bda4e6 100644 (file)
@@ -30,6 +30,9 @@ before_build:
   - python scripts/update_deps.py --dir=external
   # Get Google Test
   - git clone https://github.com/google/googletest.git external/googletest
+  - cd external/googletest
+  - git checkout tags/release-1.8.1
+  - cd %APPVEYOR_BUILD_FOLDER%
   # Generate build files using CMake for the build step.
   - echo Generating CMake files for %PLATFORM%
   - mkdir build
index 3d4db2c55a1e2d90beb06e23780d0cb6f1cf6b0a..7305c6a615f8580623b8841a056f28897c38ec73 100644 (file)
@@ -61,6 +61,9 @@ before_install:
       python scripts/update_deps.py --dir=external $UPDATE_DEPS_EXTRA_OPTIONS
       # Get Google Test
       git clone https://github.com/google/googletest.git external/googletest
+      pushd ${TRAVIS_BUILD_DIR}/external/googletest
+      git checkout tags/release-1.8.1
+      popd
     fi
   - |
     if [[ "$CHECK_FORMAT" == "ON" && "$TRAVIS_PULL_REQUEST" != "false" ]]; then
index 4eeee531d1f837c8ea709c15c44bdfb0b5a34ddb..7c3d733952c89e209f0205408243b2365b55b035 100644 (file)
--- a/BUILD.md
+++ b/BUILD.md
@@ -81,6 +81,8 @@ To obtain the framework, change your current directory to the top of your
 Vulkan-Loader repository and run:
 
     git clone https://github.com/google/googletest.git external/googletest
+    cd external/googletest
+    git checkout tags/release-1.8.1
 
 before configuring your build with CMake.