mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-28 03:50:53 +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
|
before_install: sudo apt-get install cmake
|
||||||
language: cpp
|
language: cpp
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- 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:
|
notifications:
|
||||||
recipients:
|
recipients:
|
||||||
- baptiste.lepilleur@gmail.com
|
- baptiste.lepilleur@gmail.com
|
||||||
|
Loading…
x
Reference in New Issue
Block a user