From 32d067fb87f02cfb245e19e131e7b9620d25de83 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 11 Mar 2013 11:36:13 +0100 Subject: [PATCH] Travis-CI: run CTest. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 918b5be6..8902575b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ compiler: # Settings env: - - OPTIONS="-DVMIME_SENDMAIL_PATH=/path/to/sendmail -DCMAKE_BUILD_TYPE=Debug" + - CTEST_OUTPUT_ON_FAILURE=1 OPTIONS="-DVMIME_SENDMAIL_PATH=/path/to/sendmail -DCMAKE_BUILD_TYPE=Debug -DVMIME_BUILD_TESTS=ON" # Make sure some required tools/libraries are installed install: @@ -23,3 +23,4 @@ script: - cd _build - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS - cmake --build . --target install + - ctest