-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
35 lines (35 loc) · 1.23 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
version: 2.0.0.{build}
image: Visual Studio 2019
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
install:
- ps: Install-Product node LTS x64
- choco install firefox
- choco install googlechrome
cache: '%LOCALAPPDATA%\Yarn'
environment:
RETURN_TEST_WAIT_TIME: 30
build_script:
- cmd: build.cmd --target=build --verbosity=verbose
after_build:
- ps: Get-ChildItem ./build/ -File | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
#before_test:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
test_script:
- cmd: build.cmd --target=test --configuration=debug --use-code-coverage=true
on_finish:
- ps: Compress-Archive -Path .\build\testresults -DestinationPath .\build\testresults-all.zip
- ps: Push-AppveyorArtifact .\build\testresults-all.zip -FileName "testresults-all.zip"
deploy: off
artifacts:
- path: build\testresults\*.trx
name: test logs
- path: build\testresults\**\*.*
name: test artifacts
type: zip