From e18be10126ad06d217d855fe1bab9383aa508894 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sun, 25 Feb 2018 19:05:11 +0900 Subject: Travis CI: an attempt to introduce automatic testing Adding valgrind to the mix. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3