forked from mirror/nheko
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
402 B
20 lines
402 B
8 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -evx
|
||
|
|
||
|
sudo apt-get -qq update
|
||
|
sudo apt-get install -y libgtest-dev
|
||
|
wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz
|
||
|
tar xf release-1.8.0.tar.gz
|
||
|
cd googletest-release-1.8.0
|
||
|
|
||
|
cmake -DBUILD_SHARED_LIBS=ON .
|
||
|
make
|
||
|
sudo cp -a googletest/include/gtest /usr/include
|
||
|
sudo cp -a googlemock/gtest/*.so /usr/lib/
|
||
|
|
||
|
sudo ldconfig -v | grep gtest
|
||
|
|
||
|
cd $TRAVIS_BUILD_DIR
|
||
|
|