1 # Build matrix / environment variable are explained on: 2 # http://about.travis-ci.org/docs/user/build-configuration/ 3 # This file can be validated on: 4 # http://lint.travis-ci.org/ 5 before_install: sudo apt-get install cmake 6 language: cpp 7 compiler: 8 - gcc 9 - clang 10 script: cmake -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIBRARY -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make 11 env: 12 matrix: 13 - SHARED_LIBRARY=ON BUILD_TYPE=release VERBOSE_MAKE=false 14 - SHARED_LIBRARY=OFF BUILD_TYPE=release VERBOSE_MAKE=false 15 - SHARED_LIBRARY=OFF BUILD_TYPE=debug VERBOSE VERBOSE_MAKE=true 16 notifications: 17 email: 18 - aaronjjacobs (a] gmail.com 19