[gnome-commander/googletest] Improved libgtest integration in travis config file
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/googletest] Improved libgtest integration in travis config file
- Date: Sun, 29 Nov 2015 15:08:44 +0000 (UTC)
commit 90980298f4feb942a343dae54a4429dc0c98377c
Author: Uwe Scholz <uwescholz src gnome org>
Date: Sun Nov 29 16:08:34 2015 +0100
Improved libgtest integration in travis config file
.travis.yml | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/.travis.yml b/.travis.yml
index acc0330..d54a036 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,11 +8,18 @@ before_install:
- echo $LC_ALL
- sudo apt-get update -qq
- sudo apt-get install libgtest-dev
- - "cd /usr/src/gtest && sudo cmake . && sudo cmake --build . && sudo mv libg* /usr/local/lib/ ; cd -"
+ - sudo mkdir /usr/src/gtest/build
+ - cd /usr/src/gtest/build
+ - sudo cmake .. -DBUILD_SHARED_LIBS=1
+ - sudo make -j4
+ - sudo ln -s /usr/src/gtest/build/libgtest.so /usr/lib/libgtest.so
+ - sudo ln -s /usr/src/gtest/build/libgtest_main.so /usr/lib/libgtest_main.so
install:
- sudo apt-get install -qq gnome-common gnome-doc-utils libgnome2-dev
libgnomeui-dev libunique-dev scrollkeeper
+before_script:
+ - cd -
script:
- ./autogen.sh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]