aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-25 19:05:11 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-26 09:08:12 +0900
commite18be10126ad06d217d855fe1bab9383aa508894 (patch)
treee45852291001a76601d7af5c31efe04aa32ec5a6
parent41171cc181c4bc48ba2bdc39b582d0f6c2fdde0d (diff)
downloadlibquotient-e18be10126ad06d217d855fe1bab9383aa508894.tar.gz
libquotient-e18be10126ad06d217d855fe1bab9383aa508894.zip
Travis CI: an attempt to introduce automatic testing
Adding valgrind to the mix.
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 1b67119d..cf1b1397 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,7 @@ addons:
packages:
- g++-5
- qt56base
+ - valgrind
matrix:
include:
@@ -28,7 +29,8 @@ script:
- cmake ..
- cmake --build . --target all
- cd ..
-- qmake qmc-example.pro "QMAKE_CC = $CC" "QMAKE_CXX = $CXX" && make all
+- qmake qmc-example.pro "CONFIG += debug" "QMAKE_CC = $CC" "QMAKE_CXX = $CXX" && make all
+- valgrind --tool=memcheck --leak-check=yes --show-reachable=yes ./qmc-example "$QMC_TEST_USER" "$QMC_TEST_PWD"
notifications:
webhooks: