Merge pull request #37 from miloyip/TravisSetting2

Adds Valgrind memcheck process to Tavis CI
This commit is contained in:
Milo Yip 2014-07-01 09:39:21 +08:00
commit 563e3d9d69

View File

@ -11,7 +11,7 @@ env:
before_install:
- sudo add-apt-repository -y ppa:codegear/release
- sudo apt-get update -qq
- sudo apt-get install -y premake4
- sudo apt-get install -y premake4 valgrind
install: true
@ -25,4 +25,5 @@ script:
- make -C build/gmake -f example.make
- cd bin
- ./unittest_${config_suffix}
- valgrind --leak-check=full --error-exitcode=1 ./unittest_${config_suffix}
- ./perftest_${config_suffix}