forked from FantasticFiasco/serilog-sinks-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (37 loc) · 1.43 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
48
49
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: '{build}'
# do not build on tags (GitHub and BitBucket)
skip_tags: true
#---------------------------------#
# environment configuration #
#---------------------------------#
# build worker image (VM template)
image: Visual Studio 2015
# scripts that run after cloning repository
install:
- ps: mkdir -Force ".\build\" | Out-Null
- ps: Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview2/scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli"
- ps: '& .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath -Version 1.0.0-preview2-003121'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = "true"
#---------------------------------#
# build configuration #
#---------------------------------#
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
# to run your custom scripts instead of automatic MSBuild
build_script:
- ps: ./Build.ps1
#---------------------------------#
# tests configuration #
#---------------------------------#
test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: artifacts/Serilog.*.nupkg