From c515b8ec30b9331e0444d26fe8bc66b3045eebea Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Wed, 8 May 2013 22:15:15 +0000 Subject: [PATCH] Added continuous integration matrix for debug/release build. Made static debug build verbose. --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13188fd9b..df92893c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,20 @@ # Build matrix / environment variable are explained on: # http://about.travis-ci.org/docs/user/build-configuration/ +# This file can be validated on: +# http://lint.travis-ci.org/ before_install: sudo apt-get install cmake language: cpp compiler: - gcc - clang -script: cmake -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIBRARY . && make +script: cmake -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIBRARY -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE. && make env: global: - JSONCPP_CONTINUOUS_INTERATION=1 matrix: - - SHARED_LIBRARY=ON - - SHARED_LIBRARY=OFF + - SHARED_LIBRARY=ON BUILD_TYPE=release VERBOSE_MAKE=false + - SHARED_LIBRARY=OFF BUILD_TYPE=release VERBOSE_MAKE=false + - SHARED_LIBRARY=OFF BUILD_TYPE=debug VERBOSE VERBOSE_MAKE=true notifications: recipients: - baptiste.lepilleur@gmail.com