-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
appveyor.yml
47 lines (47 loc) · 1.27 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
39
40
41
42
43
44
45
46
47
version: 'Build #{build}'
image: Visual Studio 2017
configuration: Release
environment:
# Don't bother setting up a package cache
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
cache:
- '%userprofile%\.nuget\packages -> appveyor.yml, **\*.csproj'
install:
# Install NuGet Provider, Chocolatey dependencies
- ps: |
Import-Module .\build\ci\Appveyor.psm1 -DisableNameChecking
Set-AppveyorBuildMode -IsCore:$true
Invoke-AppveyorInstall
before_build:
# Restore NuGet packages
# Set Appveyor build from PrtgAPI version
- ps: Invoke-AppveyorBeforeBuild
build_script:
# Build all target frameworks
- ps: Invoke-AppveyorBuild
after_build:
- ps: Invoke-AppveyorAfterBuild
before_test:
# Build NuGet packages
- ps: Invoke-AppveyorBeforeTest
test_script:
# Test all target frameworks
- ps: Invoke-AppveyorTest
after_test:
# Calculate .NET coverage
- ps: Invoke-AppveyorAfterTest
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
artifacts:
- path: '*.zip'
- path: '*.nupkg'
- path: '*.snupkg'
skip_commits:
files:
- '**/*.md'
- '**/*.yml'
- '**/*.nuspec'
- assets/*
- tools/*
skip_tags: true