diff options
-rw-r--r-- | appveyor.yml | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..0af1f6aa --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,77 @@ +#---------------------------------# +# general configuration # +#---------------------------------# + +# version format +version: 1.0.{build}-{branch} + +# branches to build +branches: + except: + - gh-pages + +# Do not build on tags (GitHub and BitBucket) +skip_tags: false + +#---------------------------------# +# environment configuration # +#---------------------------------# + +# Build worker image +image: + - Visual Studio 2013 + +# scripts that are called at very beginning, before repo cloning +init: + - git config --global core.autocrlf input + +#---------------------------------# +# build configuration # +#---------------------------------# + +# build platform, i.e. x86, x64, Any CPU. This setting is optional. +platform: +# - x86 uses 32bit time_t + - x64 + +# build Configuration, i.e. Debug, Release, etc. +configuration: + - Debug + - Release + +build_script: + - call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %PLATFORM% + - mkdir build + - cd build + - cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DICAL_GLIB=False -DUSE_INTEROPERABLE_VTIMEZONES=true .. + - nmake + +# to disable automatic builds +#build: off + +#---------------------------------# +# tests configuration # +#---------------------------------# + +test_script: + - nmake test + +# to disable automatic tests +#test: off + + +#---------------------------------# +# deployment configuration # +#---------------------------------# + +deploy: off + +#---------------------------------# +# notifications # +#---------------------------------# +notifications: + # Email + - provider: Email + to: + - allen.winter@kdab.com + on_build_status_changed: true |