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 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
|
2013-05-08 22:04:57 +00:00
|
|
|
script: cmake -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIBRARY . && make
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- JSONCPP_CONTINUOUS_INTERATION=1
|
|
|
|
matrix:
|
|
|
|
- SHARED_LIBRARY=ON
|
|
|
|
- SHARED_LIBRARY=OFF
|
2013-05-08 21:23:52 +00:00
|
|
|
notifications:
|
|
|
|
recipients:
|
|
|
|
- baptiste.lepilleur@gmail.com
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|