mirror of
https://github.com/nlohmann/json.git
synced 2026-03-29 04:12:47 +00:00
travis now checks with valgrind
This commit is contained in:
@@ -9,6 +9,7 @@ before_install:
|
||||
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
|
||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
||||
- sudo pip install cpp-coveralls pyyaml
|
||||
- sudo apt-get install valgrind
|
||||
|
||||
before_script:
|
||||
- autoreconf -iv
|
||||
@@ -17,6 +18,7 @@ before_script:
|
||||
script:
|
||||
- make
|
||||
- ./json_unit
|
||||
- valgrind --error-exitcode=1 --leak-check=full --errors-for-leak-kinds=definite,possible ./json_unit
|
||||
|
||||
after_success:
|
||||
- make clean
|
||||
|
||||
Reference in New Issue
Block a user