From 89800324cba3294644cd264ab36301ed4c6a58f2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 16 Feb 2020 20:19:17 +0100 Subject: .travis.yml: use GTest 1.8.0 instead of HEAD Fixes strange C++11 compatibility problems during GTest installation: /tmp/gtest-20200216-20679-mu1044/googletest/include/gtest/internal/gtest-internal.h:1249:1: error: unknown type name 'constexpr' constexpr bool TypedTestCaseIsDeprecated() { return true; } /tmp/gtest-20200216-20679-mu1044/googletest/include/gtest/internal/gtest-internal.h:1249:11: error: expected unqualified-id constexpr bool TypedTestCaseIsDeprecated() { return true; } /tmp/gtest-20200216-20679-mu1044/googletest/include/gtest/internal/gtest-internal.h:1254:1: error: unknown type name 'constexpr' constexpr bool RegisterTypedTestCase_P_IsDeprecated() { return true; } --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4c458e066..c62d7e244 100644 --- a/.travis.yml +++ b/.travis.yml @@ -148,7 +148,7 @@ install: # belonging to nss. You can unlink it" during gtest install - test "$TRAVIS_OS_NAME" != "osx" || brew unlink nss - - test "$TRAVIS_OS_NAME" != "osx" || brew install --HEAD https://gist.githubusercontent.com/Kronuz/96ac10fbd8472eb1e7566d740c4034f8/raw/gtest.rb + - test "$TRAVIS_OS_NAME" != "osx" || brew install https://gist.githubusercontent.com/Kronuz/96ac10fbd8472eb1e7566d740c4034f8/raw/gtest.rb before_script: - ccache -s -- cgit v1.2.3