celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject celix git commit: CELIX-253: Add cpputest to travis
Date Tue, 06 Oct 2015 06:18:24 GMT
Repository: celix
Updated Branches:
  refs/heads/develop ca5175f57 -> acb389c12


CELIX-253: Add cpputest to travis


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/acb389c1
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/acb389c1
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/acb389c1

Branch: refs/heads/develop
Commit: acb389c1286bf79e6ae0602284316ed634642916
Parents: ca5175f
Author: Bjoern Petri <bpetri@apache.org>
Authored: Tue Oct 6 08:18:00 2015 +0200
Committer: Bjoern Petri <bpetri@apache.org>
Committed: Tue Oct 6 08:18:00 2015 +0200

----------------------------------------------------------------------
 .travis.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/acb389c1/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index f7e10fd..9412fde 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,17 +2,20 @@ language: c
 
 before_install:
   - sudo apt-get update -qq
-  - sudo apt-get install -y uuid-dev libjansson-dev libxml2-dev cpputest
+  - sudo apt-get install -y uuid-dev libjansson-dev libxml2-dev
 
 matrix:
   include:
     - compiler: gcc
     - compiler: clang
 
-before_script:  
+before_script: 
+    - wget https://github.com/cpputest/cpputest.github.io/blob/master/releases/cpputest-3.7.1.tar.gz?raw=true
-O /tmp/cpputest.tar.gz
+    - tar -xzvf /tmp/cpputest.tar.gz 
+    - cd cpputest-3.7.1 && ./configure --prefix=$HOME/cpputest && make &&
make install 
     - mkdir build install
     - cd build
-    - cmake -DBUILD_DEPLOYMENT_ADMIN=ON -DBUILD_EXAMPLES=ON -DBUILD_LOG_SERVICE=ON -DBUILD_LOG_WRITER=ON
-DBUILD_REMOTE_SERVICE_ADMIN=ON -DBUILD_RSA_DISCOVERY_CONFIGURED=ON -DBUILD_RSA_DISCOVERY_ETCD=ON
-DBUILD_RSA_DISCOVERY_SHM=ON -DBUILD_RSA_EXAMPLES=ON -DBUILD_RSA_REMOTE_SERVICE_ADMIN_SHM=ON
-DBUILD_RSA_REMOTE_SERVICE_ADMIN_HTTP=ON -DBUILD_REMOTE_SHELL=ON -DBUILD_SHELL=ON -DBUILD_SHELL_TUI=ON
-DBUILD_DEVICE_ACCESS=ON -DBUILD_DEVICE_ACCESS_EXAMPLE=ON -DBUILD_UTILS-TESTS=ON -DCMAKE_INSTALL_PREFIX=../install
..
+    - cmake -DBUILD_DEPLOYMENT_ADMIN=ON -DBUILD_EXAMPLES=ON -DBUILD_LOG_SERVICE=ON -DBUILD_LOG_WRITER=ON
-DBUILD_REMOTE_SERVICE_ADMIN=ON -DBUILD_RSA_DISCOVERY_CONFIGURED=ON -DBUILD_RSA_DISCOVERY_ETCD=ON
-DBUILD_RSA_DISCOVERY_SHM=ON -DBUILD_RSA_EXAMPLES=ON -DBUILD_RSA_REMOTE_SERVICE_ADMIN_SHM=ON
-DBUILD_RSA_REMOTE_SERVICE_ADMIN_HTTP=ON -DBUILD_REMOTE_SHELL=ON -DBUILD_SHELL=ON -DBUILD_SHELL_TUI=ON
-DBUILD_DEVICE_ACCESS=ON -DBUILD_DEVICE_ACCESS_EXAMPLE=ON -DBUILD_UTILS-TESTS=ON -DCPPUTEST_INCLUDE_DIR=$HOME/cpputest/include/CppUTest
-DCPPUTEST_LIBRARY=$HOME/cpputest/libCppUTest.a -DCPPUTEST_EXT_INCLUDE_DIR=$HOME/cpputest/include/CppUTestExt
-DCPPUTEST_EXT_LIBRARY=$HOME/cpputest/libCppUTestExt.a -DCMAKE_INSTALL_PREFIX=../install ..
 
 script: 
     - make all && make deploy && make install-all


Mime
View raw message