diff options
author | Max Kellermann <max@musicpd.org> | 2020-02-16 20:19:17 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-02-16 20:33:15 +0100 |
commit | 89800324cba3294644cd264ab36301ed4c6a58f2 (patch) | |
tree | e2a156fefa154cb7216c918072197be016105676 | |
parent | 050e30418c07a8e6fb7dfa6e15308e1711e18bd5 (diff) |
.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; }
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |