2013-05-09 00:04:57 +02:00
|
|
|
# Build matrix / environment variable are explained on:
|
|
|
|
# http://about.travis-ci.org/docs/user/build-configuration/
|
2013-05-09 00:15:15 +02:00
|
|
|
# This file can be validated on:
|
|
|
|
# http://lint.travis-ci.org/
|
2013-05-08 22:46:56 +02:00
|
|
|
before_install: sudo apt-get install cmake
|
|
|
|
language: cpp
|
2013-05-08 23:04:42 +02:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2015-02-26 16:39:40 +01:00
|
|
|
script: cmake -DJSONCPP_WITH_CMAKE_PACKAGE=$CMAKE_PKG -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIB -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make && make jsoncpp_check
|
2013-05-09 00:04:57 +02:00
|
|
|
env:
|
|
|
|
matrix:
|
2015-02-07 19:18:20 +01:00
|
|
|
- SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false
|
|
|
|
- SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug VERBOSE_MAKE=true VERBOSE
|
2013-05-08 23:23:52 +02:00
|
|
|
notifications:
|
|
|
|
email:
|
2014-06-30 11:57:59 +02:00
|
|
|
- aaronjjacobs@gmail.com
|