2015-04-17 03:30:24 +02:00
|
|
|
# This is a comment.
|
|
|
|
|
2015-04-17 03:33:39 +02:00
|
|
|
version: build.{build}
|
2015-04-12 12:25:01 +02:00
|
|
|
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
|
|
|
|
clone_folder: c:\projects\jsoncpp
|
|
|
|
|
2015-04-12 12:41:29 +02:00
|
|
|
platform:
|
|
|
|
- Win32
|
|
|
|
- x64
|
|
|
|
|
2015-04-12 12:25:01 +02:00
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
- Release
|
|
|
|
|
|
|
|
# scripts to run before build
|
|
|
|
before_build:
|
|
|
|
- echo "Running cmake..."
|
|
|
|
- cd c:\projects\jsoncpp
|
2015-04-12 12:41:29 +02:00
|
|
|
- cmake --version
|
|
|
|
- if %PLATFORM% == Win32 cmake .
|
|
|
|
- if %PLATFORM% == x64 cmake -G "Visual Studio 12 2013 Win64" .
|
2015-04-12 12:25:01 +02:00
|
|
|
|
|
|
|
build:
|
|
|
|
project: jsoncpp.sln # path to Visual Studio solution or project
|
2015-04-15 18:59:05 +02:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: GitHub
|
|
|
|
auth_token:
|
|
|
|
secure: K2Tp1q8pIZ7rs0Ot24ZMWuwr12Ev6Tc6QkhMjGQxoQG3ng1pXtgPasiJ45IDXGdg
|
|
|
|
on:
|
|
|
|
branch: master
|
|
|
|
appveyor_repo_tag: true
|