Skip to content

Commit

Permalink
Added continuous integration matrix for shared/static library (specif…
Browse files Browse the repository at this point in the history
…ied through environment variables).
  • Loading branch information
blep committed May 8, 2013
1 parent 10712e8 commit 5fff185
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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:
- [email protected]
Expand Down

0 comments on commit 5fff185

Please sign in to comment.