Permalink
Browse files

travis: Fail the build if any memory is leaked

  • Loading branch information...
1 parent 4844a99 commit b8df59bddc13203c964e2794508924ee39d2ab9c @stephenmathieson stephenmathieson committed Dec 23, 2014
Showing with 7 additions and 1 deletion.
  1. +7 −1 .travis.yml
View
@@ -1,2 +1,8 @@
language: c
-script: make test
+install:
+ - sudo apt-get update
+ - sudo apt-get install valgrind -qq
+script:
+ - make test
+ - valgrind --leak-check=full --error-exitcode=5 ./test > /dev/null
+

0 comments on commit b8df59b

Please sign in to comment.