Skip to content

Commit

Permalink
travis: Fail the build if any memory is leaked
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Mathieson committed Dec 23, 2014
1 parent ec2cb38 commit 9152904
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
language: c
before_install:
- sudo apt-get update
- sudo apt-get install libcurl4-gnutls-dev -qq
- sudo apt-get install libcurl4-gnutls-dev valgrind -qq
- git clone https://github.com/clibs/clib.git /tmp/clib
- sudo make -C /tmp/clib install
install: clib install --dev
script: make test
script:
- make bin/test
- valgrind --leak-check=full --error-exitcode=5 ./bin/test

0 comments on commit 9152904

Please sign in to comment.