travis now checks with valgrind
This commit is contained in:
parent
5f05d02c6a
commit
43a85be471
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue