Skip to content

Commit e0cabbf

Browse files
committed
upgrade gtest recommended version to 1.8.0. hopefully unbreak CI
1 parent c75dcc1 commit e0cabbf

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ before_install:
1919
# Versions of g++ prior to 4.8 don't have very good C++11 support.
2020
- sudo apt-get install -y g++-4.8
2121
&& sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
22-
- wget https://googletest.googlecode.com/files/gtest-1.7.0.zip
22+
- wget https://codeload.github.com/google/googletest/zip/release-1.8.0
2323
&& cd test
24-
&& unzip ../gtest-1.7.0.zip
24+
&& unzip ../release-1.8.0
2525
&& cd ..
26-
&& rm gtest-1.7.0.zip
26+
&& rm release-1.8.0
2727

2828
script: mkdir build && cd build && cmake .. -Dtest=ON && make && test/runTests && make memcheck

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ libgraphqlparser requires a C++ compiler that supports C++11. It
2323
also requires Mac OS X or Linux.
2424

2525
To run tests, please download googletest from
26-
https://googletest.googlecode.com/files/gtest-1.7.0.zip and unzip it
27-
in the `test` subdirectory.
26+
https://github.com/google/googletest/archive/release-1.8.0.zip
27+
and unzip it in the `test` subdirectory.
2828

2929
## Building libgraphqlparser
3030

test/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
CTestTestfile.cmake
22
gtest*/*
3+
googletest*
4+
release-1.8.0*
35
runTests*

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ADD_SUBDIRECTORY(gtest-1.7.0)
1+
ADD_SUBDIRECTORY(googletest-release-1.8.0/googletest)
22

33
ENABLE_TESTING()
44

0 commit comments

Comments
 (0)