2013-05-08 22:04:57 +00:00
|
|
|
# Build matrix / environment variable are explained on:
|
|
|
|
# http://about.travis-ci.org/docs/user/build-configuration/
|
2013-05-08 22:15:15 +00:00
|
|
|
# This file can be validated on:
|
|
|
|
# http://lint.travis-ci.org/
|
2013-05-08 20:46:56 +00:00
|
|
|
before_install: sudo apt-get install cmake
|
|
|
|
language: cpp
|
2013-05-08 21:04:42 +00:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2015-04-23 18:55:24 +05:30
|
|
|
script: cmake -DJSONCPP_WITH_CMAKE_PACKAGE=$CMAKE_PKG -DBUILD_SHARED_LIBS=$SHARED_LIB -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make && make jsoncpp_check
|
2013-05-08 22:04:57 +00:00
|
|
|
env:
|
|
|
|
matrix:
|
2015-02-07 12:18:20 -06: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 21:23:52 +00:00
|
|
|
notifications:
|
|
|
|
email:
|
2014-06-30 19:57:59 +10:00
|
|
|
- aaronjjacobs@gmail.com
|