diff options
Diffstat (limited to '.travis/testing-utils.sh')
-rwxr-xr-x | .travis/testing-utils.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis/testing-utils.sh b/.travis/testing-utils.sh index b2f608db..3d52457f 100755 --- a/.travis/testing-utils.sh +++ b/.travis/testing-utils.sh @@ -2,6 +2,14 @@ # Make sure we exit if there is a failure set -e +if [ "X${USE_CMAKE}" == "X1" ]; then + # The New CMake build system just needs the GTest sources regardless + # of LLVM version. + wget https://github.com/google/googletest/archive/release-1.7.0.zip + unzip release-1.7.0.zip + exit 0 +fi + if [ "${LLVM_VERSION}" != "2.9" ]; then # Using LLVM3.4 all we need is vanilla GoogleTest :) wget https://github.com/google/googletest/archive/release-1.7.0.zip |