mirror of
https://github.com/nlohmann/json
synced 2025-01-19 05:10:05 +00:00
👷 fixed no_exceptions test case
This test case relied on logics that have been replaced by CMake with #461. This change enables compilation and execution of the test suite without exceptions by adding an after_success task.
This commit is contained in:
parent
4d7c29923e
commit
01470f388b
@ -78,13 +78,13 @@ matrix:
|
||||
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:
|
||||
- CPPFLAGS="-DJSON_NOEXCEPTION" make
|
||||
after_success:
|
||||
- make clean
|
||||
- CPPFLAGS="-DJSON_NOEXCEPTION" make check TEST_PATTERN=-e \"*\""
|
||||
|
||||
# Coveralls (http://gronlier.fr/blog/2015/01/adding-code-coverage-to-your-c-project/)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user