You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by bp...@apache.org on 2015/07/02 21:53:47 UTC

celix git commit: CELIX-246: Add travis config, update readme

Repository: celix
Updated Branches:
  refs/heads/develop 3de9cafdb -> 3b36eb2f8


CELIX-246: Add travis config, update readme


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

Branch: refs/heads/develop
Commit: 3b36eb2f87778852542c7e192025144027b66db6
Parents: 3de9caf
Author: Bjoern Petri <bp...@apache.org>
Authored: Thu Jul 2 21:53:21 2015 +0200
Committer: Bjoern Petri <bp...@apache.org>
Committed: Thu Jul 2 21:53:21 2015 +0200

----------------------------------------------------------------------
 .travis.yml | 18 ++++++++++++++++++
 README.md   |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/3b36eb2f/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..d66498f
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,18 @@
+language: c
+
+before_install:
+  - sudo apt-get update -qq
+  - sudo apt-get install -y uuid-dev libjansson-dev libxml2-dev
+
+matrix:
+  include:
+    - compiler: gcc
+    - compiler: clang
+
+before_script:  
+    - 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 -DCMAKE_INSTALL_PREFIX=../install ..
+
+script: 
+    - make all && make deploy && make install

http://git-wip-us.apache.org/repos/asf/celix/blob/3b36eb2f/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index e187ebb..473418a 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-#Apache Celix
+#Apache Celix [![Build Status](https://travis-ci.org/apache/celix.svg?branch=develop)](https://travis-ci.org/apache/celix)
 Apache Celix is an implementation of the OSGi specification adapted to C. It will follow the API as close as possible, but since the OSGi specification is written primarily for Java, there will be differences (Java is OO, C is procedural). An important aspect of the implementation is interoperability between Java and C. This interoperability is achieved by porting and implementing the Remote Services specification in Celix.
 
 ##Building