File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
2828script : mkdir build && cd build && cmake .. -Dtest=ON && make && test/runTests && make memcheck
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ libgraphqlparser requires a C++ compiler that supports C++11. It
2323also requires Mac OS X or Linux.
2424
2525To 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
Original file line number Diff line number Diff line change 11CTestTestfile.cmake
22gtest * /*
3+ googletest *
4+ release-1.8.0 *
35runTests *
Original file line number Diff line number Diff line change 1- ADD_SUBDIRECTORY (gtest-1.7.0 )
1+ ADD_SUBDIRECTORY (googletest-release-1.8.0/googletest )
22
33ENABLE_TESTING ()
44
You can’t perform that action at this time.
0 commit comments