From 5fff185aa420d20212b11b4c24297a5c3362f99f Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Wed, 8 May 2013 22:04:57 +0000 Subject: [PATCH] Added continuous integration matrix for shared/static library (specified through environment variables). --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a652b80..13188fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,17 @@ +# Build matrix / environment variable are explained on: +# http://about.travis-ci.org/docs/user/build-configuration/ before_install: sudo apt-get install cmake language: cpp compiler: - gcc - clang -script: cmake . && make +script: cmake -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIBRARY . && make +env: + global: + - JSONCPP_CONTINUOUS_INTERATION=1 + matrix: + - SHARED_LIBRARY=ON + - SHARED_LIBRARY=OFF notifications: recipients: - baptiste.lepilleur@gmail.com