xenia-canary/appveyor.yml

177 lines
3.9 KiB
YAML
Raw Normal View History

2015-02-12 04:15:26 +00:00
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 1.0.{build} # You can use {branch} too, for example
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
# branches to build
branches:
# blacklist
except:
- gh-pages
# Do not build on tags (GitHub only)
skip_tags: true
#---------------------------------#
# environment configuration #
#---------------------------------#
# Operating system (build VM template)
os: Visual Studio 2015 CTP
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# clone directory
clone_folder: c:\dev\xenia
# environment variables
environment:
my_var1: value1
my_var2: value2
# scripts that run after cloning repository
install:
2015-02-12 05:12:29 +00:00
- cmd: set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
2015-02-12 04:15:26 +00:00
- cmd: tools\buildbot\setup.bat
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: x64
# build Configuration, i.e. Debug, Release, etc.
configuration: Debug
build:
parallel: true # enable MSBuild parallel builds
2015-02-12 04:26:31 +00:00
project: build\xenia\xenia.sln # path to Visual Studio solution or project
2015-02-12 04:15:26 +00:00
# MSBuild verbosity level
2015-02-12 04:34:34 +00:00
#verbosity: quiet|minimal|normal|detailed
verbosity: detailed
2015-02-12 04:15:26 +00:00
# scripts to run before build
before_build:
# scripts to run after build
after_build:
# to run your custom scripts instead of automatic MSBuild
2015-02-12 04:26:31 +00:00
#build_script:
# - cmd: tools\buildbot\build.bat
2015-02-12 04:15:26 +00:00
# to disable automatic builds
#build: off
#---------------------------------#
# tests configuration #
#---------------------------------#
# scripts to run before tests
before_test:
# scripts to run after tests
after_test:
# to run your custom scripts instead of automatic tests
test_script:
- cmd: tools\buildbot\test.bat
# to disable automatic tests
#test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
#artifacts:
# pushing a single file
#- path: test.zip
# pushing entire folder as a zip archive
#- path: logs
# pushing all *.nupkg files in directory
#- path: out\*.nupkg
#---------------------------------#
# deployment configuration #
#---------------------------------#
# providers: Local, FTP, WebDeploy, AzureCS, AzureBlob, S3, NuGet, Environment
# provider names are case-sensitive!
#deploy:
# Deploy to GitHub Releases
#- provider: GitHub
# artifact: /.*\.nupkg/ # upload all NuGet packages to release assets
# draft: false
# prerelease: false
# on:
# branch: master # release from master branch only
# appveyor_repo_tag: true # deploy on tag push only
# scripts to run before deployment
before_deploy:
# scripts to run after deployment
after_deploy:
# to run your custom scripts instead of provider deployments
deploy_script:
# to disable deployment
deploy: off
#---------------------------------#
# global handlers #
#---------------------------------#
# on successful build
on_success:
# on build failure
on_failure:
# after build failure or success
on_finish:
#---------------------------------#
# notifications #
#---------------------------------#
# notifications:
# # Email
# - provider: Email
# to:
# - user1@email.com
# - user2@email.com
# subject: 'Build {{status}}' # optional
# message: "{{message}}, {{commitId}}, ..." # optional
# on_build_status_changed: true
# # Webhook
# - provider: Webhook
# url: http://www.myhook2.com
# headers:
# User-Agent: myapp 1.0
# Authorization:
# secure: GhD+5xhLz/tkYY6AO3fcfQ==
# on_build_success: false
# on_build_failure: true
# on_build_status_changed: true