mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-27 11:21:02 +08:00
Added continuous integration matrix for shared/static library (specified through environment variables).
This commit is contained in:
parent
10712e85d6
commit
5fff185aa4
10
.travis.yml
10
.travis.yml
@ -1,9 +1,17 @@
|
||||
# Build matrix / environment variable are explained on:
|
||||
# http://about.travis-ci.org/docs/user/build-configuration/
|
||||
before_install: sudo apt-get install cmake
|
||||
language: cpp
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
script: cmake . && make
|
||||
script: cmake -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIBRARY . && make
|
||||
env:
|
||||
global:
|
||||
- JSONCPP_CONTINUOUS_INTERATION=1
|
||||
matrix:
|
||||
- SHARED_LIBRARY=ON
|
||||
- SHARED_LIBRARY=OFF
|
||||
notifications:
|
||||
recipients:
|
||||
- baptiste.lepilleur@gmail.com
|
||||
|
Loading…
x
Reference in New Issue
Block a user