Commit 43a85be4 authored by Niels's avatar Niels

travis now checks with valgrind

parent 5f05d02c
...@@ -9,6 +9,7 @@ before_install: ...@@ -9,6 +9,7 @@ before_install:
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi - 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 - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- sudo pip install cpp-coveralls pyyaml - sudo pip install cpp-coveralls pyyaml
- sudo apt-get install valgrind
before_script: before_script:
- autoreconf -iv - autoreconf -iv
...@@ -17,6 +18,7 @@ before_script: ...@@ -17,6 +18,7 @@ before_script:
script: script:
- make - make
- ./json_unit - ./json_unit
- valgrind --error-exitcode=1 --leak-check=full --errors-for-leak-kinds=definite,possible ./json_unit
after_success: after_success:
- make clean - make clean
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment