celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject [12/20] celix git commit: CELIX-263: Fixed travis setup
Date Wed, 07 Oct 2015 12:45:52 GMT
CELIX-263: Fixed travis setup


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

Branch: refs/heads/feature/CELIX-237_rsa-ffi
Commit: bb62be8e11c4f585de4dd146f8073863ca22153c
Parents: c6d2d59
Author: Bjoern Petri <bpetri@apache.org>
Authored: Tue Oct 6 08:30:15 2015 +0200
Committer: Bjoern Petri <bpetri@apache.org>
Committed: Tue Oct 6 08:30:15 2015 +0200

----------------------------------------------------------------------
 .travis.yml | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/bb62be8e/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index df0f48b..8d3b6bc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,5 @@
 language: c
 
-env
-
 before_install:
   - sudo apt-get update -qq
   - sudo apt-get install -y uuid-dev libjansson-dev libxml2-dev
@@ -11,15 +9,15 @@ matrix:
     - 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 -C /tmp 
+    - cd /tmp/cpputest-3.7.1 && ./configure --prefix=$HOME/cpputest && make
&& make install && cd -
     - 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_TEST=ON -DCMAKE_INSTALL_PREFIX=../install
..
 
 script: 
+    - 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 -DCPPUTEST_INCLUDE_DIR=$HOME/cpputest/include
-DCPPUTEST_LIBRARY=$HOME/cpputest/libCppUTest.a -DCPPUTEST_EXT_INCLUDE_DIR=$HOME/cpputest/include
-DCPPUTEST_EXT_LIBRARY=$HOME/cpputest/libCppUTestExt.a -DCMAKE_INSTALL_PREFIX=../install ..
     - make all && make deploy && make install-all
-
-after_script:
-    - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/utils
-    - ./utils/array_list_test && ./utils/celix_threads_test && ./utils/linked_list_test
&& ./utils/hash_map_test 
+    - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/utils && ./utils/array_list_test
&& ./utils/celix_threads_test && ./utils/linked_list_test && ./utils/hash_map_test

 


Mime
View raw message