Skip to content

Commit c515b8e

Browse files
committed
Added continuous integration matrix for debug/release build. Made static debug build verbose.
1 parent 5fff185 commit c515b8e

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
# Build matrix / environment variable are explained on:
22
# http://about.travis-ci.org/docs/user/build-configuration/
3+
# This file can be validated on:
4+
# http://lint.travis-ci.org/
35
before_install: sudo apt-get install cmake
46
language: cpp
57
compiler:
68
- gcc
79
- clang
8-
script: cmake -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIBRARY . && make
10+
script: cmake -DJSONCPP_LIB_BUILD_SHARED=$SHARED_LIBRARY -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_VERBOSE_MAKEFILE=$VERBOSE_MAKE. && make
911
env:
1012
global:
1113
- JSONCPP_CONTINUOUS_INTERATION=1
1214
matrix:
13-
- SHARED_LIBRARY=ON
14-
- SHARED_LIBRARY=OFF
15+
- SHARED_LIBRARY=ON BUILD_TYPE=release VERBOSE_MAKE=false
16+
- SHARED_LIBRARY=OFF BUILD_TYPE=release VERBOSE_MAKE=false
17+
- SHARED_LIBRARY=OFF BUILD_TYPE=debug VERBOSE VERBOSE_MAKE=true
1518
notifications:
1619
recipients:
1720

0 commit comments

Comments
 (0)