-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
38 lines (38 loc) · 1.5 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
pull_requests:
do_not_increment_build_number: true
skip_branch_with_pr: true
version: '{build}'
branches:
only:
- master
environment:
repo_token:
secure: kwXtwg31BGntEG3HFOLvEbkzLB0aOyszUpvfaIXAgRpe5kVcr5IHl26pzyHEMY7/
clone_depth: 1
image: Visual Studio 2019
configuration:
- Debug
- Release
cache:
- packages -> **\*.csproj
- C:\ProgramData\chocolatey\bin -> appveyor.yml
- C:\ProgramData\chocolatey\lib -> appveyor.yml
install:
- choco install doxygen.install
# Enable if tests are added
# - choco install codecov
before_build:
- nuget restore IconDiffBot.sln
build:
project: IconDiffBot.sln
verbosity: minimal
# Enable if tests are added
#test_script:
# - set path=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow;%path%
# - copy "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions\appveyor.*" "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions" /y
# - vstest.console /EnableCodeCoverage "IconDiffBot.Tests\bin\%CONFIGURATION%\netcoreapp2.0\IconDiffBot.Tests.dll" /logger:trx;LogFileName=results.trx
# - ps: $wc = New-Object 'System.Net.WebClient'
# - ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\TestResults\results.trx))
after_test:
# - ps: Tools/UploadCoverage.ps1
- ps: Tools/BuildDox.ps1