This repo shows how to test C++ code with googletest on Circle CI.
google/googletest: Google Test
see circle.yml. you can see how to run gtest on circle ci.
git submodule init
git submodule update
CXX=/usr/bin/clang++ CC=/usr/bin/clang ./configure 'CXXFLAGS=-std=c++11 -stdlib=libc++'
CXX=/usr/bin/clang++ CC=/usr/bin/clang make
sudo apt-get install cmake
mkdir build
cd build
cmake ..
make
cd make
make
make test
cd bin
./gtest_myint