update ci

This commit is contained in:
terik23 2018-04-28 00:50:44 +05:00
parent e3ed14df33
commit 32bfcbd398
2 changed files with 7 additions and 7 deletions

View file

@ -13,27 +13,21 @@ configuration:
shallow_clone: true shallow_clone: true
matrix: matrix:
fast_finish: false fast_finish: true
environment: environment:
matrix: matrix:
- TOOLCHAIN: msvc14 - TOOLCHAIN: msvc14
- TOOLCHAIN: msvc15 - TOOLCHAIN: msvc15
init:
- ps: 'Write-Host "Building branch: $env:APPVEYOR_REPO_BRANCH" -ForegroundColor Magenta'
before_build: before_build:
- ps: 'Write-Host "Running CMake:" -ForegroundColor Magenta'
- if exist build RMDIR /S /Q build - if exist build RMDIR /S /Q build
- if not exist build mkdir build - if not exist build mkdir build
- cd build - cd build
- cmake.exe .. %CMAKE_CONFIGURE_FLAGS% - cmake.exe .. %CMAKE_CONFIGURE_FLAGS%
build_script: build_script:
- ps: 'Write-Host "Running build:" -ForegroundColor Magenta'
- cmake --build . --config %CONFIGURATION% - cmake --build . --config %CONFIGURATION%
test_script: test_script:
- ps: 'Write-Host "Running tests:" -ForegroundColor Magenta'
- ctest -V --output-on-failure -C %CONFIGURATION% - ctest -V --output-on-failure -C %CONFIGURATION%

View file

@ -4,6 +4,12 @@ sudo: required
language: cpp language: cpp
git:
depth: 1
matrix:
fast_finish: true
os: os:
- linux - linux
- osx - osx