diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..5370e5c3 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,81 @@ +# Notes: +# - Minimal appveyor.yml file is an empty file. All sections are optional. +# - Indent each level of configuration with 2 spaces. Do not use tabs! +# - All section names are case-sensitive. +# - Section names should be unique on each level. + +#---------------------------------# +# general configuration # +#---------------------------------# + +# version format +version: 1.0.{build} + +# you can use {branch} name in version format too +# version: 1.0.{build}-{branch} + +# branches to build +branches: + # whitelist + only: + - devel + + +#---------------------------------# +# environment configuration # +#---------------------------------# + +# Build worker image (VM template) +image: Visual Studio 2015 + +# clone directory +clone_folder: c:\projects\vcglib + +# fetch repository as zip archive +shallow_clone: true # default is "false" + +# set clone depth +clone_depth: 5 # clone entire repository history if not defined + +# scripts that run after cloning repository +install: + # by default, all script lines are interpreted as batch + - echo This is batch + # to run script as a PowerShell command prepend it with ps: + - ps: Write-Host 'This is PowerShell' + # batch commands start from cmd: + - cmd: echo This is batch again + - cmd: set MY_VAR=12345 + +#---------------------------------# +# build configuration # +#---------------------------------# + +# build Configuration, i.e. Debug, Release, etc. +configuration: Release + +# to add several configurations to build matrix: +#configuration: +# - Debug +# - Release + +build: + parallel: true # enable MSBuild parallel builds + + # MSBuild verbosity level + verbosity: detailed + + +# scripts to run before build +before_build: + ps: cd apps/sample + +# scripts to run after build +after_build: + +# to run your custom scripts instead of automatic MSBuild +build_script: + ps: qmake + ps: msbuild + +