Commit 89800324 authored by Max Kellermann's avatar Max Kellermann

.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; }
parent 050e3041
...@@ -148,7 +148,7 @@ install: ...@@ -148,7 +148,7 @@ install:
# belonging to nss. You can unlink it" during gtest 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 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: before_script:
- ccache -s - ccache -s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment