From b6911da8f0a1afc2c42e09ceedcdc133a7d75bfb Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Sun, 16 Jun 2019 17:12:41 +0200 Subject: [PATCH] CI runs now in debug mode (close #263) --- .travis.yml | 4 ++-- appveyor.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 34af7fe52..c3e4dbe5b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,8 +86,8 @@ install: script: - mkdir -p build && cd build -- cmake -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release .. && make -j4 -- CTEST_OUTPUT_ON_FAILURE=1 ctest -j4 +- cmake -DBUILD_TESTING=ON -DBUILD_LIB=ON .. && make -j4 +- CTEST_OUTPUT_ON_FAILURE=1 ctest --timeout 5 -C Debug -j4 deploy: provider: script diff --git a/appveyor.yml b/appveyor.yml index 03e6493e9..4e1feefe5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,19 +5,20 @@ image: Visual Studio 2017 environment: BUILD_DIR: "%APPVEYOR_BUILD_FOLDER%\\build" + CTEST_OUTPUT_ON_FAILURE: 1 platform: - Win32 configuration: - - Release + - Debug before_build: - cd %BUILD_DIR% - cmake .. -DBUILD_TESTING=ON -DBUILD_LIB=ON -DCMAKE_CXX_FLAGS=/W1 -G"Visual Studio 15 2017" after_build: - - ctest -C Release -j4 + - ctest --timeout 5 -C Debug -j4 build: parallel: true