👷 added option to switch off exceptions
This commit is contained in:
parent
839681ff9f
commit
268f5a3d0a
2 changed files with 14 additions and 9 deletions
|
|
@ -64,19 +64,15 @@ matrix:
|
|||
- make cppcheck
|
||||
|
||||
# no exceptions
|
||||
|
||||
- os: linux
|
||||
compiler: gcc
|
||||
env:
|
||||
- COMPILER=g++-4.9
|
||||
- SPECIAL=no_exceptions
|
||||
- CMAKE_OPTIONS=-DJSON_NoExceptions=ON
|
||||
addons:
|
||||
apt:
|
||||
sources: ['ubuntu-toolchain-r-test']
|
||||
packages: ['g++-4.9', 'cppcheck', 'ninja-build']
|
||||
after_success:
|
||||
- make clean
|
||||
- CPPFLAGS="-DJSON_NOEXCEPTION" make check TEST_PATTERN="-e \"*\""
|
||||
packages: ['g++-4.9', 'ninja-build']
|
||||
|
||||
# Coveralls (http://gronlier.fr/blog/2015/01/adding-code-coverage-to-your-c-project/)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue