From 80e2b5bbcb2076d9804dc81326ff05eae52bf463 Mon Sep 17 00:00:00 2001 From: Neargye Date: Mon, 13 Aug 2018 16:29:26 +0500 Subject: [PATCH] update ci --- .appveyor.yml | 12 ++++++------ .travis.yml | 5 ++--- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 286a9ed..86b9a64 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,5 +1,7 @@ version: "{branch} #{build}" +shallow_clone: true + image: - Visual Studio 2017 @@ -11,10 +13,8 @@ configuration: - Debug - Release -shallow_clone: true - -matrix: - fast_finish: false +build: + parallel: true environment: matrix: @@ -25,10 +25,10 @@ before_build: - if exist build RMDIR /S /Q build - if not exist build mkdir build - cd build - - cmake .. -G "%GENERATOR%" -A %PLATFORM% -DCMAKE_BUILD_TYPE=${CONFIGURATION} + - cmake -G "%GENERATOR%" -A %PLATFORM% -DCMAKE_BUILD_TYPE=${CONFIGURATION} .. build_script: - cmake --build . --config %CONFIGURATION% test_script: - - ctest -V --output-on-failure -C %CONFIGURATION% + - ctest --output-on-failure -C %CONFIGURATION% diff --git a/.travis.yml b/.travis.yml index 8f19e3b..dd573d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ git: depth: 1 matrix: - fast_finish: false include: - os: linux compiler: g++ @@ -275,11 +274,11 @@ before_script: - rm -rf build - mkdir -p build - cd build - - cmake .. -DCMAKE_BUILD_TYPE=${CONFIGURATION} + - cmake -DCMAKE_BUILD_TYPE=${CONFIGURATION} .. script: - cmake --build . --config ${CONFIGURATION} -- -j${JOBS} - - ctest -V --output-on-failure -С ${CONFIGURATION} -j${JOBS} + - ctest --output-on-failure -С ${CONFIGURATION} -j${JOBS} notifications: email: false