option to switch off exceptions

This commit is contained in:
Niels Lohmann 2017-01-16 22:11:07 +01:00
parent 74cbd30cd0
commit 1ab26ab367
6 changed files with 335 additions and 261 deletions

View file

@ -71,6 +71,21 @@ matrix:
after_success:
- make cppcheck
# no exceptions
- os: linux
compiler: gcc
env:
- COMPILER=g++-4.9
- SPECIAL=no_exceptions
- TEST_PATTERN="-e \"*\""
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [g++-4.9, cppcheck]
before_script:
- make FLAGS="-fno-exceptions"
# Coveralls (http://gronlier.fr/blog/2015/01/adding-code-coverage-to-your-c-project/)
- os: linux