You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2017/02/07 18:53:50 UTC
celix git commit: CELIX-389: Adds pubsub to travis build
Repository: celix
Updated Branches:
refs/heads/develop 2d0923ea4 -> 8b162503f
CELIX-389: Adds pubsub to travis build
Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/8b162503
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/8b162503
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/8b162503
Branch: refs/heads/develop
Commit: 8b162503fdbbf1deea2a63102fb9dc7a25be4768
Parents: 2d0923e
Author: Roy Lenferink <le...@gmail.com>
Authored: Mon Feb 6 22:19:24 2017 +0100
Committer: Roy Lenferink <le...@gmail.com>
Committed: Mon Feb 6 22:44:05 2017 +0100
----------------------------------------------------------------------
.travis.yml | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/celix/blob/8b162503/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index e3a4396..5527cea 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,13 +43,21 @@ matrix:
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ -z "$ANDROID" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt-get -qq update && sudo apt-get install -y uuid-dev libxml2-dev lcov libffi-dev gcc-4.8 g++-4.8; fi
- - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update && brew install lcov libffi && brew link --force libffi; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update && brew install lcov libffi zeromq czmq && brew link --force libffi; fi
before_script:
- wget https://github.com/cpputest/cpputest/releases/download/v3.8/cpputest-3.8.tar.gz -O /tmp/cpputest.tar.gz
- tar -xzvf /tmp/cpputest.tar.gz -C /tmp
- if [ "$CC" = "clang" ]; then export CXX="clang++"; fi && cd /tmp/cpputest-* && ./configure --prefix=/usr/local && make && sudo make install && cd -
- cd /tmp/cpputest-* && ./configure --prefix=/usr/local && make && sudo make install && cd -
+ - wget https://github.com/zeromq/libzmq/releases/download/v4.2.1/zeromq-4.2.1.tar.gz -O /tmp/zeromq.tar.gz
+ - tar -xzvf /tmp/zeromq.tar.gz -C /tmp && cd /tmp/zeromq-* && mkdir build && cd build
+ - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ -z "$ANDROID" ]; then cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_CURVE=ON .. && make && sudo make install; fi
+ - cd $TRAVIS_BUILD_DIR
+ - wget https://github.com/zeromq/czmq/releases/download/v4.0.2/czmq-4.0.2.tar.gz -O /tmp/czmq.tar.gz
+ - tar -xzvf /tmp/czmq.tar.gz -C /tmp && cd /tmp/czmq-* && mkdir build && cd build
+ - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ -z "$ANDROID" ]; then cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. && make && sudo make install; fi
+ - cd $TRAVIS_BUILD_DIR
- git clone https://github.com/akheron/jansson.git jansson-build
- cd jansson-build && git checkout 2.7
- cmake -DJANSSON_BUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local . && make
@@ -63,6 +71,8 @@ before_script:
-DBUILD_DEPENDENCY_MANAGER=ON \
-DBUILD_EXAMPLES=ON -DBUILD_LOG_SERVICE=ON \
-DBUILD_LOG_WRITER=ON \
+ -DBUILD_PUBSUB=ON \
+ -DBUILD_PUBSUB_PSA_ZMQ=ON \
-DBUILD_REMOTE_SERVICE_ADMIN=ON \
-DBUILD_RSA_DISCOVERY_CONFIGURED=ON \
-DBUILD_RSA_DISCOVERY_ETCD=ON \