1version: 2.2.{build}
2
3branches:
4# whitelist
5    only:
6        - master
7        - appveyor
8
9image: Visual Studio 2017
10
11environment:
12  matrix:
13  - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
14    VSVER: Visual Studio 14 2015 Win64
15  - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
16    VSVER: Visual Studio 15 2017 Win64
17
18platform:
19  - x64
20
21configuration:
22  - Release
23
24install:
25    - cmake --version
26    - git submodule -q update --init
27
28before_build:
29    - cmake -G"%VSVER%" .
30
31build:
32    project: build\rxcpp.sln
33
34test_script:
35  - cd build\test\
36  - ctest -V -C Release
37  - cd ..\..
38
39artifacts:
40  - path: Rx\v2\src\
41    name: rxcpp source
42    type: zip
43  - path: Rx\v2\examples\
44    name: rxcpp examples
45    type: zip
46
47notifications:
48  - provider: Webhook
49    url: https://webhooks.gitter.im/e/4c53c094183ccaa8d059
50    method: POST
51    on_build_success: true
52    on_build_failure: true
53    on_build_status_changed: false
54  - provider: Email
55    to:
56      - kirk.shoop@microsoft.com
57    on_build_success: true
58    on_build_failure: true
59    on_build_status_changed: false
60