forked from MichaCo/DnsClient.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
26 lines (26 loc) · 825 Bytes
/
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
version: 1.0.7-beta-{build}
skip_tags: true
image: Visual Studio 2017
configuration: Release
clone_folder: C:\projects\DnsClient.NET
init:
- cmd: if "%APPVEYOR_REPO_BRANCH%" == "master" (set VersionSuffix=) else (set VersionSuffix=beta)
environment:
BuildNumber: $(APPVEYOR_BUILD_NUMBER)
before_build:
- cmd: dotnet restore
build:
project: DnsClientDotNet.sln
verbosity: minimal
after_build:
- cmd: dotnet pack -o C:\projects\DnsClient.NET\artifacts -c Release src\DnsClient
test_script:
- cmd: dotnet test test\DnsClient.Tests\DnsClient.Tests.csproj -c Release --no-build
artifacts:
- path: artifacts\*.nupkg
name: nugets
deploy:
- provider: NuGet
server: https://www.myget.org/F/dnsclient/api/v2/package
symbol_server: https://www.myget.org/F/dnsclient/api/v2/package
artifact: nugets