version: 0.1.{build}

branches:
  except:
    - gh-pages

skip_tags: true

os: Visual Studio 2015

clone_folder: C:\projects\crole

platform:
  - x86
  - x64

configuration:
  - Debug
  - Release

init:
  - cmd: git config --global core.autocrlf input
  - cmd: cd C:\projects\crole
  - cmd: git submodule update --init --recursive

before_build:
  - cmd: cd C:\projects\crole
  - cmd: mkdir build
  - cmd: cd build
  - cmd: if "%platform%"=="x86" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015
  - cmd: if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015 Win64
  - cmd: cmake .. -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE=%configuration%

build:
  project: C:\projects\crole\build\crole.sln
  parallel: true
  verbosity: quiet

test_script:
  - C:\projects\crole\build\test\crole-test.exe
version: 0.1.{build}

branches:
  except:
    - gh-pages

skip_tags: true

os: Visual Studio 2015

clone_folder: C:\projects\crole

platform:
  - x86
  - x64

configuration:
  - Debug
  - Release

init:
  - cmd: git config --global core.autocrlf input
  - cmd: cd C:\projects\crole

before_build:
  - cmd: cd C:\projects\crole
  - cmd: git submodule update --init --recursive
  - cmd: mkdir build
  - cmd: cd build
  - cmd: if "%platform%"=="x86" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015
  - cmd: if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 14 2015 Win64
  - cmd: cmake .. -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE=%configuration%

build:
  project: C:\projects\crole\build\crole.sln
  parallel: true
  verbosity: quiet

test_script:
  - C:\projects\crole\build\test\crole-test.exe
Move submodule update to build phase, after clone
Move submodule update to build phase, after clone
