diff --git a/.appveyor.yml b/.appveyor.yml index f6d05e9..461f775 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -8,10 +8,6 @@ platform: - Win32 - x64 -configuration: - - Debug - - Release - build: parallel: true @@ -19,10 +15,12 @@ before_build: - if exist build RMDIR /S /Q build - if not exist build mkdir build - cd build - - cmake -A %PLATFORM% .. build_script: - - cmake --build . --config %CONFIGURATION% + - cmake -A %PLATFORM% .. + - cmake --build . --config Debug + - cmake --build . --config Release test_script: - - ctest --output-on-failure -C %CONFIGURATION% + - ctest --output-on-failure -C Debug + - ctest --output-on-failure -C Release diff --git a/.travis.yml b/.travis.yml index 50e2bba..e200666 100644 --- a/.travis.yml +++ b/.travis.yml @@ -104,11 +104,11 @@ before_script: - cd build script: - - cmake -G "Unix Makefiles" .. + - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug .. - cmake --build . --config Debug -- -j${JOBS} - ctest --output-on-failure -C Debug -j${JOBS} - rm -rf ./* - - cmake -G "Unix Makefiles" .. + - cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. - cmake --build . --config Release -- -j${JOBS} - ctest --output-on-failure -C Release -j${JOBS}