update ci

This commit is contained in:
Neargye 2018-08-13 16:29:26 +05:00
parent d297993f52
commit 80e2b5bbcb
2 changed files with 8 additions and 9 deletions

View file

@ -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%

View file

@ -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