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
|
2013-05-08 22:23:07 +00:00
|
|
|
script: cmake -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIBRARY -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE . && make
|
2013-05-08 22:04:57 +00:00
|
|
|
env:
|
|
|
|
matrix:
|
2013-05-08 22:15:15 +00:00
|
|
|
- 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
|
2013-05-08 21:23:52 +00:00
|
|
|
notifications:
|
|
|
|
email:
|
2014-06-30 19:57:59 +10:00
|
|
|
- aaronjjacobs@gmail.com
|