summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2015-01-22 15:31:43 -0500
committerMatt Stancliff <matt@genges.com>2015-01-22 16:00:38 -0500
commitdd680fcc14ca2b950fd454577fcf532d58ffa7b5 (patch)
treed2958bb0650269cb5bd7a2a48bd25af7e6daf292 /.travis.yml
parent3c023ee1572fb4dcbbc526b9c64cf3bc315464db (diff)
Add valgrind to TravisCI testing
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 030427f..882ded4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,4 +3,11 @@ compiler:
- gcc
- clang
-script: make && make check
+env:
+ - PRE=""
+ - PRE="valgrind --track-origins=yes --leak-check=full"
+
+install:
+ - sudo apt-get install libc6-dbg libc6-dev libc6-i686:i386 libc6-dev-i386 libc6-dbg:i386 valgrind -y
+
+script: make && make check PRE="$PRE"